trolley-scheduler
📚Haskell program to schedule trolleys and shifts randomly!
Usage
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
TODO:
- 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. 🗓