3 ms·
You're not insane at all. A substantial proportion of the Haskell community (I feel like it's a majority but it's hard to be sure) have a stron
by tome 7y ago
You're not insane at all. A substantial proportion of the
Haskell community (I feel like it's a majority but it's hard to be sure) have a strong distaste for partial functions (e.g.
head) and functions that throw exceptions (i.e. where you
can't see from the type signature what the possible failure
modes are). I'm afraid that momentum means that the base
libraries change slowly, but you're a long way from alone.
I suggest you come to https://www.reddit.com/r/haskell/ https://www.reddit.com/r/haskell/ if you'd like more discussion about it. We often have threads wishing for partial functions to be removed from base!