perhaps

Iavor Diatchki iavor.diatchki at gmail.com
Thu Aug 3 14:58:23 EDT 2006


On 8/2/06, John Meacham <john at repetae.net> wrote:
> does anyone else think this would be useful to provide?
Maybe

(sorry, couldn't resist :-)
-iavor

>
> > module Data.Perhaps where
> >
> > data Perhaps = No | Maybe | Yes
> >         deriving(Eq,Ord,Show,Read,Enum,Bounded)
> >
> > instance Monoid Perhaps ...
> > ...
>
> I only ask because it has come up as useful several times in projects I
> work on.
>
>         John
>
>
>
> --
> John Meacham - ⑆repetae.net⑆john⑈
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://www.haskell.org/mailman/listinfo/libraries
>


More information about the Libraries mailing list