Proposal: Add readMaybe (and possibly readEither) to Prelude, make Haddocks for read more cautionary

Edward Kmett ekmett at
Tue Jan 3 12:53:36 UTC 2017

On Mon, Jan 2, 2017 at 10:10 AM, Simon Jakobi <simon.jakobi at>

> 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.

Also, those in that list that happen to import it from Text.Read rather
than define it themselves would still work just fine.


> Simon
> [1]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Libraries mailing list