+1
On Aug 19, 11:02 pm, Stuart Sierra <[email protected]>
wrote:
> On Aug 19, 9:56 pm, CuppoJava <[email protected]> wrote:
>
> > If I were to have my way, I would redefine all the clojure.core
> > functions to assume the "data" is the last argument instead of the
> > first. (this includes ->) This way they would play nice with both
> > partial and ->.
>
> That's a really interesting idea. What happens if:
>
> (defmacro last->
> ([x form] (if (seq? form)
> (concat form (list x))
> (list form x)))
> ([x form & more] `(last-> (last-> ~x ~form) ~...@more)))
>
> -SS
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---