Skip to content

Instantly share code, notes, and snippets.

@deque-blog
Last active July 1, 2017 12:38
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save deque-blog/aaff0c670866efbffb54d78448d54475 to your computer and use it in GitHub Desktop.
-- Search for a train:
-- * At a given DateTime (example: 2017-07-01 14h38)
-- * Returning a list of TrainId
searchTrain :: DateTime -> ReservationExpr [TrainId]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment