3 ms·
I don't like the Prelude. It has a lot of cruft - partial functions, weird names for things. At some point that needs a rewrite, but I don't think the communi
by dllthomas 12y ago
I don't like the Prelude. It has a lot of cruft - partial functions, weird names for things. At some point that needs a rewrite, but I don't think the community is sure how we get there from here (at least I'm certainly not).
- tome 12y agoI'd just write a good Prelude and encourage other people to use it.
- guiraldelli 12y ago> I don't like the Prelude. It has a lot of cruft - partial functions, weird names for things. For the partial problem, you could rely on `safe` (https://hackage.haskell.org/package/safe https://hackage.haskell.org/package/safe). But I am sure you could take any other function on `Prelude` that you don't like and do a Hayoo/Hoogle (e.g. http://hayoo.fh-wedel.de/?query=[a]+-%3E+Maybe+a http://hayoo.fh-wedel.de/?query=[a]+-%3E+Maybe+a )search and find the one more appropriate. :)
- dllthomas 12y agoAt this point, I'm mostly well aware of the alternatives. I just wish the right thing was also the easiest thing.