Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 850 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 850 Bytes

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.

Building

  1. Install a recent version of GHCJS:

    $ git clone https://github.com/ghcjs/ghcjs.git
    $ cabal install ./ghcjs
    $ ghcjs-boot --dev
  2. Install dependencies and compile Haskell to JavaScript with stack:

    $ stack build
  3. Minify JavaScript files:

    $ make