Here is something in Haskell which is confusing/bothering me right now.
What magic do the parenthesis do exactly?
Conversation
`, conversely, transforms prefix into infix:
4 `elem` [3, 4, 5] # => True
3
Part of what attracts me to Functional is "we got rid of all the 'syntax', it's all just functions!"
1
Replying to
That’s way, way more true in Lisp than Haskell. :|
Replying to
So like I seem to remember ML for example being better about this.
Replying to
Also kind of horrified on discovering Haskell, unlike say Python, doesn't *really* offer a generic way of…
Replying to
…enumerating over a sequence-like data type bc the constructions are so different. Also everyone's saying "don't use String"
1
I guess the Haskell people would argue that it’s better that they can define “enumeration” in library rather than in language.
4
Show replies

