-------------------------------------------- -- data-or 1.0.0 --------------------------------------------
The data-or package offers a data type for non-exclusive disjunction. This is helpful for things like a generic merge function on sets/maps which could be union, mutual difference, etc. based on which 'Or' value a function argument returns. Also useful for non-truncating zips (cf. 'zipOr') and other cases where you sometimes want an 'Either' and sometimes want a pair.
-------------------------------------------- -- Links -------------------------------------------- Homepage: http://code.haskell.org/~wren/ Hackage: http://hackage.haskell.org/package/data-or Darcs: http://community.haskell.org/~wren/data-or Haddock (Darcs version): http://community.haskell.org/~wren/data-or/dist/doc/html/data-or -- Live well, ~wren _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe