[Haskell-cafe] ANN: data-or

wren ng thornton wren at freegeek.org
Sun Jan 29 05:15:22 CET 2012


--------------------------------------------
-- 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



More information about the Haskell-Cafe mailing list