[Haskell-cafe] [Maybe Int] sans Nothings

Gregory Crosswhite gcross at phys.washington.edu
Mon May 23 18:25:41 CEST 2011


On 5/23/11 9:20 AM, michael rice wrote:
> What's the best way to end up with a list composed of only the Just 
> values,
> no Nothings?
>
>
>

Try catMaybes in Data.Maybe.

Cheers,
Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110523/4001713f/attachment.htm>


More information about the Haskell-Cafe mailing list