turion / rhine

Haskell Functional Reactive Programming framework with type-level clocks
http://hackage.haskell.org/package/rhine
124 stars 21 forks source link

Can only use one Gloss clock at a time #330

Open turion opened 5 months ago

turion commented 5 months ago

The way the gloss clocks are implemented is such that only one 'GlossSimClockIO' can receive a time step. (Same for 'GlossEventClockIO'.) It would be nice if one could use several such clocks, especially for events. This could be implemented using a 'TChan' in principle, but would need 'FreeAsyncT' to be generalised.