2010/7/14 Sergey Mironov <ier...@gmail.com>:
> Hi cafe! I have a question of C-to-Haskell type:)
>
> Imagine web application wich allows users to browse some shared
> filesystem located at the server.
> Application stores every users's position within that filesystem
> (current directory or file).
>
> In C this can be implemented with the help of following data types:
>
> Any ideas?

Use IORef. ;)

PS
MVar is better, actually.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to