[Haskell-cafe] Is it usual to read a Maybe (IORef a) ?

minh thu noteed at gmail.com
Wed Sep 3 09:40:19 EDT 2008

2008/9/3 Lennart Augustsson <lennart.augustsson at gmail.com>:
> I think you should think about why your application needs IORef at all. Do
> you really need mutation?  And why isn't STRef good enough. Using IORef is
> really the last resort.

This is for an interactive application (3D mesh editing, the data structure is
the half edge structure). So the user can add points, edges, faces,
delete them, ...


More information about the Haskell-Cafe mailing list