rhine-gloss-1.0: Gloss backend for Rhine
Safe HaskellSafe-Inferred
LanguageHaskell2010

FRP.Rhine.Gloss

Description

Wrapper library to write gloss Gloss applications in Rhine.

A pure Rhine app with gloss backend must use the GlossClock or GlossCombinedClock (from Single and Combined, respectively), since the gloss API only offers callbacks. In order to run such a reactive program, you have to use flowGloss or flowGlossCombined.

A more flexible alternative, at the cost of introducing IO concurrency, is the IO wrapper. There, you can combine the gloss clocks with arbitrary other IO clocks.

Documentation

module FRP.Rhine