Hi everybody..I've a little question..the way in than clojure
implement curry is affected for the jvm or it is a "Rick
decision" ...in haskell every function accept only one parameter and
if you call a function with >1 parameter it use currying...I feel than
it is really natural and more clean than use "partial"

for example map function
a translation haskell map (+3) [1,2,3] to clojure must be

(map (+ 3) '(1 2 3)) much more clean than
(map #(+ 3 %) '(1 2 3) or even
(map (partial + 3) '(1 2 3))

in this example the difference is not so dramatic but in more extenses
codes you can really note a big difference...

I'm a clojure newbie and I like a lot clojure...but many times I feel
than haskell do the code much more cleaner and I presume than maybe it
would be for the jvm limitations...

thanks a lot



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