A simple pairing heap implementation written in Elm usable as a priority queue. This code is based heavily on the pseudocode available at the Wikipedia page.
Unit tests can run with elm-test as follows:
- Run
npm install -g elm-test
- Run
elm-test
from the main directory of this project elm-test should then download and build everything necessary and run the tests.
All code is and should remain formatted by the latest (stable) version of elm-format. Travis CI checks for this.
To format the source code:
- Run
npm install -g elm-format
- Run
elm-format src/ tests/