Created
October 28, 2014 12:21
-
-
Save zoren/3b0b419fe5a9c4891406 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 rec f _ = | |
let _ = myignore 1 | |
myignore () // not ok, myignore expects int as argument type | |
and myignore _ = () | |
let rec myignore _ = () | |
and f _ = | |
let _ = myignore 1 | |
myignore () // ok, myignore accepts any type as argument type |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment