Skip to content

Instantly share code, notes, and snippets.

@teamon
Created February 2, 2013 13:36
Show Gist options
  • Save teamon/4697421 to your computer and use it in GitHub Desktop.
Save teamon/4697421 to your computer and use it in GitHub Desktop.
- fun f g a b = g a b;
val f = fn : ('a -> 'b -> 'c) -> 'a -> 'b -> 'c
- fun plus a b = a + b;
val plus = fn : int -> int -> int
- fun mul a b = a * b;
val mul = fn : int -> int -> int
- f plus 2 3;
val it = 5 : int
- f mul 2 3;
val it = 6 : int
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment