Bear in mind I'm pretty handy with obscure obfuscated by default things like RPL, Forth and Perl and occasionally common lisp.
Bear in mind I'm pretty handy with obscure obfuscated by default things like RPL, Forth and Perl and occasionally common lisp.
How come?
Syntax feels slightly horrid. Doesn't seem to visually or syntactically scale well with the size of the problem at hand. Some of it is plain ugly (records). It's harder than the others resulting in more head scratching. Debugging is slightly painful.
These are all IMHO.
To be fair, I'm going to do the tutorial again this afternoon.
Look at List.hs (sort/sortBy) for what I mean:
http://hackage.haskell.org/packages/archive/base/latest/doc/...
I might get it if I keep trying.
(ironically I did an engineering degree which was rather maths heavy so I should get this).
Haskell can just take some time to get used to. The code is laid out differently and the use of curried functions and point-free styles can throw you off coming from imperative code.