Re: [Haskell-cafe] RFC: only-read-or-write-vars

2010-03-22 Thread vlado
et subject I've been playing with on and off. > BTW thanks for pointing me to pointers! Of course a Ptr is also a > mutable variable so I've added instances for them. Pleasure to be of help, even if it was by accident Cheers, Vlado ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

Re: [Haskell-cafe] RFC: only-read-or-write-vars

2010-03-19 Thread vlado
lame name, but my name game is off today. This particular function comes handy when playing with passing channels or pointers around. It might be worth it to have a dedicated type for that as well. Vlado ___ Haskell-Cafe mailing list Haskel