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