๐Haskell program to schedule trolleys and shifts randomly!
host$ nix-shell --pure shell.nix
nix$ cabal repl
*Lib> Main.main
testing:
nix$ cabal repl test-trolley
...
*Lib> Test.main
with ghcid:
nix$ ghcid -c 'cabal repl test-trolley' --test 'Test.main'
adding deps:
- add to cabal file, then run:
host$ nix-shell --pure -p cabal2nix --run "cabal2nix ." > default.nix
- Generate a PDF? ๐
- Read data from CSV files. ๐
- Allow 3~4 people per shift! ๐จโ๐ฉโ๐งโ๐ฆ
- Improve printing of output. ๐จ
- Fill turns respecting availability. ๐
- Each shift must have a Captain. ๐จ๐ผโ
โ๏ธ - Pioneers have more turns / preference. ๐ค
- Add long distance / has vehicle constraint. ๐
- Deduce month length prompting from terminal. ๐