Skip to content

Instantly share code, notes, and snippets.

@SteveGilham
Created April 26, 2015 14:24
Show Gist options
  • Save SteveGilham/ecb52af9bc57f9c77d2e to your computer and use it in GitHub Desktop.
Save SteveGilham/ecb52af9bc57f9c77d2e to your computer and use it in GitHub Desktop.
Continuation essentials
type continuation = K of (unit -> unit)
let execute (K f) = f()
let stop = K (fun () -> ());;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment