ashley at semantic.org
Fri Aug 11 18:16:32 EDT 2006
John Meacham wrote:
> does anyone else think this would be useful to provide?
>>module Data.Perhaps where
>>data Perhaps = No | Maybe | Yes
>>instance Monoid Perhaps ...
> I only ask because it has come up as useful several times in projects I
> work on.
I think "Maybe Bool" is better for this. It already separates out for
you the notion of certainty vs. uncertainty.
What Monoid did you have in mind for it?
More information about the Libraries