Hacker News new | ask | show | jobs
by tkz1312 1028 days ago
I guess parsing the list into a NonEmpty would probably be considered somewhat more idiomatic haskell than returning a Maybe from head.