Proposal: deprecate Prelude.read

Fumiaki Kinoshita <[email protected]> Fri, 15 Oct 2021 11:31:19 +0900
Newsgroups gmane.comp.lang.haskell.libraries
Message-ID <CAATCwU=U1jOpdH8JPTFdgxyPhuv+KnkNvrou6h6Yd3c_GLoe3w@mail.gmail.com>
It is a partial function that does not provide a call stack, and it's very
slow too.

I propose deprecating Prelude.read. Adding deprecation should not break
anything substantial because Hackage rejects -Werror (application code
using -Werror is likely to experience a lot more breakage anyway, and I'd
say it's their fault if it fails to build due to a use of read along with
-Werror).

Of course those who still want to use Prelude.read can totally ignore
warnings. I believe this proposal is not that controversial.

_______________________________________________
Libraries mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries