I thought a 'functional language' simply meant that they had constructs which enforce true strict functions, meaning subroutine calls which are guaranteed to never have side effects, which take arguments and return a single value, and can be aggressively optimized by the compiler/runtime because they are strict functions.
On May 15, 2009, at 8:27 AM, Gabriel C. wrote: > > 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 -~----------~----~----~----~------~----~------~--~---
