3 ms·
Haskell takes serious effort to get used to and begin writing idiomatically. This should go without saying for most programming languages but it goes double for
by chongli 7y ago
Haskell takes serious effort to get used to and begin writing idiomatically. This should go without saying for most programming languages but it goes double for Haskell, because it's so different.
One of the things I've come to appreciate about idiomatic Haskell is the library pattern (for lack of a better term). A properly designed Haskell project should be a library, not a monolithic program, and the problem you're trying to solve becomes a one-liner after importing your new library. A great example of this is Xmonad, which works exactly in that way.