[Haskell-cafe] [Maybe Int] sans Nothings

Gregory Crosswhite gcross at phys.washington.edu
Mon May 23 21:12:46 CEST 2011

On 05/23/2011 12:08 PM, Brent Yorgey wrote:
> Just a minor quibble: note that
>> >  filter (not . isNothing)
> is slightly preferable since it does not introduce a frivolous
> equality constraint on the type wrapped by the Maybe.

Or even better,

     filter isJust



More information about the Haskell-Cafe mailing list