
22 Apr
2008
22 Apr
'08
8:26 a.m.
On Mon, 21 Apr 2008, Ryan Ingram wrote:
I recommend this blog entry: http://twan.home.fmf.nl/blog/haskell/overloading-functional-references.detai...
along with a few additional combinators for imperative update:
data FRef s a = FRef { frGet :: s -> a , frSet :: a -> s -> s }
http://darcs.haskell.org/record-access/src/Data/Accessor.hs http://darcs.haskell.org/record-access/src/Data/Accessor/Example.hs I should upload this to Hackage, I know ...