"partial" is a currying function.  It can be provided any number of
parameter(s), but it is always behaves sequentially from start to finish.
 That is what currying *is*.

You can easily partially apply to other arguments by doing this: #(fred %1
some-arg %2 other-arg).

"partial" could not easily support "unapplying" it.

On Thu, Feb 26, 2009 at 10:24 AM, Anand Patil <
anand.prabhakar.pa...@gmail.com> wrote:

>
> Hi all,
>
> I could use a version of 'partial' that would allow me to:
>
> - Partially apply a function to any of its arguments, not just the
> first one
> - 'Unapply' a partially-applied function from one of its arguments.
>
> Is any such thing already available?
>
> Thanks,
> Anand
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
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