[Haskell-cafe] Function composition

Martijn van Steenbergen martijn at van.steenbergen.nl
Mon Dec 29 16:34:46 EST 2008

Conal Elliott wrote:
> If you think of f (here f=not) as an "semantic editor" (transformer) of 
> values, then 'result', 'first', and 'second' are "semantic editor 
> combinators", which can be composed together arbitrarily.  See 
> http://conal.net/blog/semantic-editor-combinators .

I recently found out Henning and Luke's Data.Accessor[1], and your 
editor combinators and their accessors seem very much related. Was one 
inspired by the other?


[1] http://hackage.haskell.org/cgi-bin/hackage-scripts/package/data-accessor

More information about the Haskell-Cafe mailing list