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
That’s way, way more true in Lisp than Haskell. :|
3
…enumerating over a sequence-like data type bc the constructions are so different. Also everyone's saying "don't use String"
1
Replying to
I guess the Haskell people would argue that it’s better that they can define “enumeration” in library rather than in language.
Replying to
So like some library can define Traversable and then another one can implement it on a bunch of data types and you can add more…
Replying to
So, somebody did this (ListLike and Traversible?) but, this is only "better" if we're comparing Haskell to other langs.
1
The whole thing’s basically designed to be a maximally flexible sandbox for playing with abstractions, I guess.
Replying to
But I'm not… really evaluating Haskell for use, I'm just looking for interesting sources of PL ideas?
Replying to
At which point I'm primarily comparing Haskell to Haskell If They Had Actually Planned Ahead For This Particular Thing.
1
Yeah, that’s an important comparison, especially in the case of String.
3
Show replies

