[Haskell-cafe] MonadMemory class

Ariel J. Birnbaum valgarv at gmx.net
Thu Mar 27 20:00:20 EDT 2008


> look at http://haskell.org/haskellwiki/Library/ArrayRef for examples

Thanks, Data.Ref.Universal looks just like it!
One question though. In:

 class (Monad m) => Ref m r | m->r, r->m where

Why is the second fundep necessary?

-- 
Ariel J. Birnbaum


More information about the Haskell-Cafe mailing list