* Ionut G. Stan wrote: > I was just wondering if there's any particular reason for which the two > constructors of the Either data type are named Left and Right.
Yes. The basic function on this type is "either". either a b (Left x) = Left (a x) either a b (Right x) = Right (b x) So the names of the constuctors are "natural". _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe