Skip to content

Instantly share code, notes, and snippets.

@wsargent
Created June 1, 2016 22:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wsargent/6bb6c2f63c80320c53d401cf9da1f581 to your computer and use it in GitHub Desktop.
Save wsargent/6bb6c2f63c80320c53d401cf9da1f581 to your computer and use it in GitHub Desktop.
// a Train "at" time produces a TrainFromOps
// a TrainFromOps "from" station produces a Train
// a TrainInfo "at" time produces a TrainInfoFromOps
// a TrainInfoFromOps "from" station produces a TrainInfoAtOps
// a TrainInfoAtOps "at" time produces a TrainFromOps
// TrainOps(train)
// TrainInfoOps(info: TrainInfo)
// TrainFromOps(info, scheudle, time)
// TrainInfoFromOps(info, time)
// TrainInfoAtOps(info, schedule)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment