Currently includes visualizations of three queues described in Okasaki's book:
- Banker's Queues
- Amortized Queues
- Real-time queues
I've created these visualizations for a talk about purely functional queues (video, slides) at Curry Club Augsburg.
-
Install a recent version of GHCJS:
$ git clone https://github.com/ghcjs/ghcjs.git $ cabal install ./ghcjs $ ghcjs-boot --dev
-
Install dependencies and compile Haskell to JavaScript with
stack
:$ stack build
-
Minify JavaScript files:
$ make