The only thing Haskell does not provide is a way to group functions and data together into a single “object” (aside from creating a data type which includes a function - remember, functions are data!). This is, however, a very minor problem. To apply a function to an object you would write “func obj a b c” instead of something like “obj.func a b c”.
IMHO, this is not a minor thing.
Just Testing Syntax Highlighting
So let’s see, does it work?
Seems like it does! Got this from Theocacao
My study of various other programming languages, static and dynamic, object-oriented and functional, compiled and interpreted, has lead me to realize that Ruby is indeed and excellent language and that Java is not.
I see the value in powerful type systems such as those in Scala or Haskell, but I’m not sure I’m willing to trade in my metaprogramming license just yet…