Proposal to deprecate and then drop fromJust

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

On Mon, Feb 23, 2015 at 10:19 PM, Chris Allen <cma at> 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,

Gregory Collins <greg at>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Libraries mailing list