perhaps

John Meacham john at repetae.net
Wed Aug 2 22:42:45 EDT 2006


does anyone else think this would be useful to provide?

> 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⑈


More information about the Libraries mailing list