Skip to content

Instantly share code, notes, and snippets.

@jjant
Created June 13, 2018 21:22
Show Gist options
  • Save jjant/547622ec4c848d9047dc39c220a2645d to your computer and use it in GitHub Desktop.
Save jjant/547622ec4c848d9047dc39c220a2645d to your computer and use it in GitHub Desktop.
Continuation Type Definition
newtype Cont r a = Cont { runCont :: (a -> r) -> r }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment