Proposal: Let OpenGL depend on the StateVar package

Edward Kmett ekmett at gmail.com
Thu Oct 23 20:18:42 UTC 2014


At the risk of bikeshedding things to death:

Another option on that front is to just remove the concept of a
"GettableStateVar" entirely and substitute 'IO', then 'get' is 'id' or even
'liftIO' and there is no dilemma about whether to use a GettableStateVar or
a boring IO action -- and you aren't playing catchup writing instance after
instance.

type GettableStateVar = IO

would just work.

​-Edward
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20141023/d0842c32/attachment.html>


More information about the Libraries mailing list