Tom Ellis wrote:
> Likewise, I have often wanted to rewrite
>
> case m of
> Nothing -> n
> Just x -> quux x
Why not emply the maybe function (b -> (a -> b) -> Maybe a -> b)
maybe n quux m
Erik
--
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/