Haskell implementation of Maelstrom sandbox
Playing with maelstrom (A workbench for writing toy implementations of distributed systems) in haskell.
You need cabal, GHC and maelstrom. The easiest way to get the first two is using HLS.
Verified compatibility with:
- HLS - 1.10.0.0
- cabal - 3.10.1.0
- GHC - 9.2.7 (base-4.16.4.0)
- maelstrom - 0.2.3
cabal build
Sample path to build executable: ./dist-newstyle/build/x86_64-linux/ghc-9.2.7/hastrom-0.1.0.0/x/hastrom/build/hastrom/hastrom
./path/to/maelstrom test -w broadcast --bin ./path/to/exe --nodes n1 --time-limit 20 --log-stderr
If you would like to contribute feel free to create an issue, fork and create a PR.
Special thanks to: