Skip to content

Instantly share code, notes, and snippets.

@deque-blog
Created July 1, 2017 13:41
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 deque-blog/2c009efe65cc20cbda951fb602af43cd to your computer and use it in GitHub Desktop.
Save deque-blog/2c009efe65cc20cbda951fb602af43cd to your computer and use it in GitHub Desktop.
-- Run the computation using a InMemoryDb of trains and typologies
-- * Simulates real world behaviors with fake data
-- * Can simulate the behavior of successive interacting requests
evalWithFakeDB :: ReservationExpr ty -> State InMemoryDb ty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment