Demonstration of combining Fay and Bacon.js
This is a demonstration of combining Fay_, a Haskell_-to-Javascript compiler, and Bacon.js_, an FRP library.
To run the demo, first install Fay on your system, then run
::
$ fay BaconAndFay.hs
This should generate BaconAndFay.js
.
Now open demo.html_ in your browser and move your mouse.
.. _Fay: http://fay-lang.org .. _Haskell: http://www.haskell.org .. _Bacon.js: https://github.com/raimohanska/bacon.js
.. _demo.html: demo.html