Skip to content

πŸ›’ Haskell program to schedule trolleys and shifts randomly!

License

Notifications You must be signed in to change notification settings

kutyel/trolleys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

trolleys

πŸ›’ Haskell program to schedule trolleys and shifts randomly!

Usage

Get ghcup! (or stack)

Create a YAML file in the root directory with the shifts and volunteers you want to cover:

# config.yml
shifts: [M, T, W, H, F, S]
volunteers:
  - name: Flavio
    availability: [S]
  - name: Lydia
    availability: [M, H, F, S]
  # ...

Run the program!

$ cabal repl
$ main

TODO

  • Do not repeat shifts!
  • Get captain from options
  • Try to match families together

About

πŸ›’ Haskell program to schedule trolleys and shifts randomly!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published