
2 Jan
2017
2 Jan
'17
10:10 a.m.
2016-12-30 5:51 GMT+01:00 Edward Kmett
I'm a weak +1 on adding re-export of the existing readMaybe and readEither to the Prelude, possibly after a warning period.
What would such a warning period look like? Does it simply mean that there is an announcement on the Haskell mailing lists "Heads up, we'll add readMaybe and readEither to the Prelude in base-4.11"?
They are sufficiently obscure names that I'm personally not expecting many name conflicts at all
There are quite a few packages [1] that define their private version of readMaybe, but I don't think that these should be counted as arguments _against_ adding the function to Prelude. Simon [1] https://github.com/search?l=Haskell&q=readMaybe&type=Code