Skip to content

timjb/pfds-visualizations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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