
25 Jul
2010
25 Jul
'10
5:41 p.m.
But what to do with Maybe?
instance Result Maybe where type Failure Maybe = forall e. e -- can't do this failure _ = Nothing success x = Just x
Normally, I would use: type Failure Maybe = () Unless the ability to discard information of any type is somehow a salient feature. Friendly, --L