(ns turing) | |
(def dirs | |
{:l dec | |
:r inc}) | |
(defn move | |
[machine dir] | |
(update machine :pos (dirs dir))) |
Use mirror + clojure remote repl to edit and run clojure files on a server as if they're local.
Compiled from http://som.csudh.edu/fac/lpress/history/arpamaps/ and https://en.wikipedia.org/wiki/ARPANET
These maps are from Heart, F., McKenzie, A., McQuillian, J., and Walden, D., ARPANET Completion Report, Bolt, Beranek and Newman, Burlington, MA, January 4, 1978.
Folks -- I just scanned these in. They are too big, but right now I do not have the time to reduce them and try filtering out the noise. If someone does, please let me know. Larry (source: http://som.csudh.edu/fac/lpress/history/arpamaps/)
My initial motivation for -XDerivingVia
was deriving across
isomorphisms.
Standard type-class encodings of isos turn out to be awkward due to overlap.
The project can be built using Lumo
npm install -g lumo-cljs
lumo build.cljs
Isomorphic Full Stack | |
ES2015 Hot Flux Generators | |
on io.js | |
/* bling.js */ | |
window.$ = document.querySelector.bind(document); | |
window.$$ = document.querySelectorAll.bind(document); | |
Node.prototype.on = window.on = function(name, fn) { this.addEventListener(name, fn); }; | |
NodeList.prototype.__proto__ = Array.prototype; | |
NodeList.prototype.on = function(name, fn) { this.forEach((elem) => elem.on(name, fn)); }; |