Open thalerjonathan opened 6 years ago
The main loop is controlled by Gloss. Using dunai it is easy to evealuate the top-level MSF with the next step, we need then a function which removes the monadic layer(s) of the current step. The output is then rendered/appended to the outputs list and stored together with the continuation in a IORef to be available in the next-step callback.
A simulation which has rendering output (e.g. Sugarscape) should be controllable so the modeller can explore better what is going on.