Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kutyel/trolley-scheduler

๐Ÿ“šHaskell program to schedule trolleys and shifts randomly!
https://github.com/kutyel/trolley-scheduler

haskell haskell-application random schedule scheduler schedules

Last synced: about 1 month ago
JSON representation

๐Ÿ“šHaskell program to schedule trolleys and shifts randomly!

Awesome Lists containing this project

README

        

# trolley-scheduler

๐Ÿ“šHaskell program to schedule trolleys and shifts randomly!

## Usage

```sh
host$ nix-shell --pure shell.nix
nix$ cabal repl
*Lib> Main.main
```

testing:

```sh
nix$ cabal repl test-trolley
...
*Lib> Test.main
```

with ghcid:

```sh
nix$ ghcid -c 'cabal repl test-trolley' --test 'Test.main'
```

adding deps:

- add to cabal file, then run:

```sh
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! ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ
- [x] Improve printing of output. ๐Ÿ–จ
- [x] 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. ๐Ÿ—“