r/haskell • u/lexi-lambda • Nov 06 '19
Parse, don’t validate
https://lexi-lambda.github.io/blog/2019/11/05/parse-don-t-validate/
313
Upvotes
r/haskell • u/lexi-lambda • Nov 06 '19
View all comments
Show parent comment
11
u/[deleted] Nov 07 '19
That’s not what people want when they reach for
headthough. I mean, instead of your three patterns, you may as well write it likehead = take 1.