Peter Danenberg <pe...@factual.com> writes:

Hi Peter,

> Try as I might, I can't purge these anachronisms; so here are `car' to
> `cddddr' in all their glory:
>
>   http://clojars.org/cadr

Nice. :-)

> This implementation uses a Kleene-closure around the alphabet {a, d}
> to generate the names; and a macro to define them:
>
>   https://github.com/klutometis/cadr/blob/master/src/cadr/core.clj

Is that inspired by the `cxr' macro (I think, that was its name) in Let
Over Lambda?  One nice feature that seems missing from your version is a
macro for defining local functions on demand.  I don't remember the
exact LoL syntax, but probably it would look something like that:

(with-cxrs [foo caaaddddddaddr,
            bar caddddddddaaaaaaaar]
  (cons (foo myseq) (bar mysec)))

Bye,
Tassilo

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to