[Haskell-cafe] reactive-banana GLFW-b event register example
madjestic13 at gmail.com
Thu May 8 12:08:52 UTC 2014
I am trying to make the following quasi-code example work:
registerMouseButton :: IO (Event MouseButton)
registerMouseButton = do(addHandler, fire) <- newAddHandler
setMouseButtonCallback $ \button _ -> fire button
looks like it should be something straightforward.
Can somebody show an example of a functional code that registers a key or a
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe