Created
March 1, 2015 13:10
-
-
Save akimacho/c1e488e8bb4ff86327e8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# let t1 x = x + 1 ;; | |
val t1 : int -> int = <fun> | |
# let t2 x = x + 2 ;; | |
val t2 : int -> int = <fun> | |
# let t3 x = x + 3 ;; | |
val t3 : int -> int = <fun> | |
# t1 t2 t3 5 ;; | |
Error: This function has type int -> int | |
It is applied to too many arguments; maybe you forgot a `;'. | |
# t1 (t2 (t3 5)) ;; | |
- : int = 11 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment