News for hackers. Stuff that matters.
Re:Show HN: I built a poker site with Haskell by nilkn on Friday August 09, 2019 @04:24PM (#20657982)
I've written a fair bit of Haskell, including some production software. Your second version here is my personal favorite of the variants proposed so far. It's the version I can look at and more or less instantly understand. I think sometimes folks go a little too far with using library functions to manipulate Maybe values -- not that `fromMaybe` is particularly onerous, but something about the structure of pattern matching just conveys information to my brain much faster.

There are no comments on this comment yet.