[Haskell] ANNOUNCE: PEZ, the Potentially Excellent Zipper library

2011-04-22 Thread Brandon Simmons
uot; (show . fst) $ getLeftmost tree You can also experiment with "zipping through" computations. It's as simple as defining a new fclabel lens for a reversible computation, e.g.: > reversible :: (Show b, Read b) => b :-> String > reversible = lens show (const . read) Thanks, Brandon Simmons http://coder.bsimmons.name ___ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell

[Haskell] [ANN] shapely-data v0.1

2013-12-23 Thread Brandon Simmons
This is the first *real* release `shapely-data`, a haskell library up here on hackage: http://hackage.haskell.org/package/shapely-data for working with algebraic datatypes in a simple generic form made up of haskell's primitive product, sum and unit types: `(,)`, `Either`, and `()`. You can