pufuwozu/roy — Issue #62: Add effect tracking
Author: techtangents
Created: 2011-12-07 11:23:39+00:00
State: open

Effect tracking is awesome and useful.

Requires type-classes and monads.

DOM, network, mutable actions, console.log would all be in IO.

Finding the right place to call unsafePerformIO could be tricky. On browsers, you'd probably want it on anything where the browser event loop enters code, e.g. on DOM event handlers, setTimeouts, script load completion.

The IO monad in Scalaz could be a good reference.