About currying, is worth noting that in Haskell, f (x,y) = x + y can't
be curried (and must be called with parenthesis!!!) and Haskell is as
functional as you can be...
(yes, I know, I'm cheating because I'm not defining a function with
two parameters, is a function with one tuple parameter)
The point is that having to define f(x:Int)(y:Int) instead f
(x:Int,y:Int) is not that far from having to define f x y instead of f
(x,y)...
(a little more detail in 
http://gabrielsw.blogspot.com/2009/02/flavors-of-curry-scala-vs-haskell.html)

Regards

On May 14, 8:35 pm, Robert Fischer <[email protected]>
wrote:
> If Dick is going to keep going on about how functional and mathematical Scala 
> is, and how that's so
> great, maybe he should check out OCaml/F#?
>
> I've just posted to my blog about how Scala is *not* a functional language.  
> Which is not to say
> it's a bad language -- it's just not a functional language.
>
> http://enfranchisedmind.com/blog/posts/scala-not-functional/
>
> ~~ Robert Fischer.
> Grails Training        http://GroovyMag.com/training
> Smokejumper Consultinghttp://SmokejumperIT.com
> Enfranchised Mind Bloghttp://EnfranchisedMind.com/blog
>
> Check out my book, "Grails Persistence with GORM and 
> GSQL"!http://www.smokejumperit.com/redirect.html
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to