Skip to content

Instantly share code, notes, and snippets.

@sporkmonger
Created June 10, 2009 19:53
Show Gist options
  • Save sporkmonger/127454 to your computer and use it in GitHub Desktop.
Save sporkmonger/127454 to your computer and use it in GitHub Desktop.
let double x = 2 * x;;
let sum x y = x + y;;
(* How do you get a function 2(x + y) from this? *)
let foo = double sum;; (* Obviously doesn't work *)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment