On Tue, 19 Jun 2007, Rohan Drape wrote: > on an unrelated front, is there a standard name for the below? > > > -- 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? This also contains the case (Nothing, Nothing). What application do you think of? _______________________________________________ haskell-art mailing list haskell-art@lists.lurk.org http://lists.lurk.org/mailman/listinfo/haskell-art