Counterpoint! He's not crazy:
https://github.com/bwo/monads/blob/master/src/monads/util.clj#L8-43


On Sun, Aug 18, 2013 at 9:20 PM, Sean Corfield <seancorfi...@gmail.com>wrote:

> You're crazy :)
>
> On Sun, Aug 18, 2013 at 9:04 PM, Chris Allen <callen.2...@gmail.com>
> wrote:
> > Am I crazy or does this scream macro?
> >
> > On Saturday, August 17, 2013 6:02:03 PM UTC-7, Sean Corfield wrote:
> >>
> >> On Sat, Aug 17, 2013 at 5:43 PM, yair <yair...@gmail.com> wrote:
> >> > What do you mean by currying in this context?  Is there a way to do
> this
> >> > in
> >> > clojure apart from using partial?
> >>
> >> (defn some-func
> >>   ([a b c] (process a b c))
> >>   ([a b]   (fn [c] (some-func a b c)))
> >>   ([a]     (fn ([b] (fn [c] (some-func a b c)))
> >>                ([b c] (some-func a b c)))))
> >>
> >> (some-func 1 2 3)
> >> ((some-func 1 2) 3)
> >> (((some-func 1) 2) 3)
> >> ((some-func 1) 2 3)
> >> --
> >> Sean A Corfield -- (904) 302-SEAN
> >> An Architect's View -- http://corfield.org/
> >> World Singles, LLC. -- http://worldsingles.com/
> >>
> >> "Perfection is the enemy of the good."
> >> -- Gustave Flaubert, French realist novelist (1821-1880)
> >
> > --
> > --
> > 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
> > ---
> > You received this message because you are subscribed to the Google Groups
> > "Clojure" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to clojure+unsubscr...@googlegroups.com.
> > For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
> --
> Sean A Corfield -- (904) 302-SEAN
> An Architect's View -- http://corfield.org/
> World Singles, LLC. -- http://worldsingles.com/
>
> "Perfection is the enemy of the good."
> -- Gustave Flaubert, French realist novelist (1821-1880)
>
> --
> --
> 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
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>



-- 
Ben Wolfson
"Human kind has used its intelligence to vary the flavour of drinks, which
may be sweet, aromatic, fermented or spirit-based. ... Family and social
life also offer numerous other occasions to consume drinks for pleasure."
[Larousse, "Drink" entry]

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to