Another style, using channels for local state, but could been plain old
iterators, slight golf warning:
(require '[clojure.core.async :refer [to-chan !!]])
(defn uniquify [s formatter]
(let [g (memoize #(to-chan (cons % (map (partial formatter %) (next
(range))]
(map (fn f [x]
Deuce translates Emacs Lisp to Clojure and has to deal with some similar
issues. Doing 80% and deal with the rest by hand wasn't an option here (but
at times tempting). Initially I tried generating mildly idiomatic
Clojure, but gave up in favor of getting it to work first. For example,
Emacs
I'm pretty interested in setting up and mentor a project around Deuce[1] -
exact scope to be decided.
But I'm not sure this would fall under the scope of this?
cheers, Hakan
[1] https://github.com/hraberg/deuce/
On Thursday, 14 February 2013 23:33:58 UTC+5:30, Daniel Solano Gómez wrote:
Hi Jules,
I've just been hacking on OpenCL a bit the last few days[1] - Rootbeer was
an inspiration after seeing it a few weeks back.
I'm not trying to go down the Rootbeer route myself, but the idea of having
(cl-map f ...) is one direction one can take it (I've been looking a bit at
Hi Jules,
I've just been hacking on OpenCL a bit the last few days[1] - Rootbeer was
an inspiration after seeing it a few weeks back.
I'm not trying to go down the Rootbeer route myself, but the ideas of
having (cl-map f ...) is one direction one can take it.
I've been mainly trying to get my
神.clj | Shen for Clojure 0.1.0
Shen[1] is a portable functional programming language by Mark Tarver[2]
that offers
* pattern matching,
* λ calculus consistency,
* macros,
* optional lazy evaluation,
* static type checking,
* an integrated fully functional Prolog,
* and an inbuilt
https://github.com/hraberg/shen.clj | [shen.clj 0.1.0]
Shen is a portable functional programming language by Mark Tarver:
The Shen mission is to develop an ultra-portable version of Qi ...
The means of achieving this involves developing a small fast Lisp
called Kl which is rich enough to