Read for integral types: proposed semantic change

Henning Thielemann lemming at henning-thielemann.de
Sat Oct 8 08:17:07 UTC 2016


On Wed, 5 Oct 2016, David Feuer wrote:

> readsInt "12e" = [(12, "e")] --same
> readsInt "12e-" = [(12,"e-")] --same
> readsInt "12e-3" = [12,"e-3"] --more lenient
> readsInt ('a' : undefined) = [] --lazier

Sounds reasonable. I do not think that I ever used these partial parses 
intentionally.


More information about the Libraries mailing list