Proposal to deprecate and then drop fromJust

Gregory Collins greg at gregorycollins.net
Tue Feb 24 15:14:58 UTC 2015


On Mon, Feb 23, 2015 at 10:19 PM, Chris Allen <cma at bitemyapp.com> wrote:

> Just a quick look on Github, filtering for uses of fromJust rather than
> re-declarations (mostly), shows 9,418 uses.
> ...
> Searching for imports of Data.Maybe alone come to 19,985, indicating that
> at least ~half of the time people import Data.Maybe, they're using fromJust.
>

Are you guys crazy?! I don't like partial functions either, but forget the
-1, I vote to nuke this thread from orbit.

I'm +1 to adding warning pragmas to the prelude's partial functions,
however.

G
-- 
Gregory Collins <greg at gregorycollins.net>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/libraries/attachments/20150224/e2ae8d5f/attachment.html>


More information about the Libraries mailing list