3 ms·
Haskell: https://gist.github.com/gigamonkey/6249d85021bc8bf54eb4 https://gist.github.com/gigamonkey/6249d85021bc8bf54eb4 Erlang: https://gist.github.com/mattst
by seiji 11y ago
Haskell: https://gist.github.com/gigamonkey/6249d85021bc8bf54eb4 https://gist.github.com/gigamonkey/6249d85021bc8bf54eb4
Erlang: https://gist.github.com/mattsta/b6749e566f5cfd75762a https://gist.github.com/mattsta/b6749e566f5cfd75762a
List comprehensions make no sense to anybody at first. But after you work with and struggle against them for a few days/weeks, everything will click. You'll be a better developer for understand them more intuitively.
- EarthLaunch 11y agoI don't know about that last part. I spent years with Erlang until finally list comprehensions became natural, and I still don't feel like a better programmer!