Henning Thielemann <[EMAIL PROTECTED]> writes:
> > > -- Either variant allowing for both.
> > > data Which a b = One a | Other b | Both (a,b) deriving (Eq, Show)
> 
> Probably not. Is (Maybe a, Maybe b) also appropriate? 

Not really, precisely because:

> This also contains the case (Nothing, Nothing).

which is cannot occur in this particular
context...

> What application do you think of?

Merging sequences of temporal values?

Regards,
Rohan
_______________________________________________
haskell-art mailing list
haskell-art@lists.lurk.org
http://lists.lurk.org/mailman/listinfo/haskell-art

Reply via email to