[Haskell-cafe] Re: Data types, opengl display loop and readIORef/writeIORef

2007-10-08 Thread apfelmus
bbrown wrote: This is more an aesthetics question, I have a simple opengl application that has a singleton like object I need to pass around to the display loop and possibly to the keyboard action handler. (pseudo code) data SimpleMech = SimpleMech { mechPos :: !MVector,

Re: [Haskell-cafe] Re: Data types, opengl display loop and readIORef/writeIORef

2007-10-08 Thread bbrown
On Mon, 08 Oct 2007 17:41:12 +0200, apfelmus wrote bbrown wrote: This is more an aesthetics question, I have a simple opengl application that has a singleton like object I need to pass around to the display loop and possibly to the keyboard action handler. (pseudo code) data