Skip to content

Instantly share code, notes, and snippets.

@SteveGilham
Created April 26, 2015 14:07
Show Gist options
  • Select an option

  • Save SteveGilham/a58530b5c6432c5ce0b9 to your computer and use it in GitHub Desktop.

Select an option

Save SteveGilham/a58530b5c6432c5ce0b9 to your computer and use it in GitHub Desktop.
Function to function over monad
let Lift f m =
m >>= fun x ->
Return (f x);;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment