Created
March 28, 2016 03:46
-
-
Save tomshen/1e91b3e2c4a7751de67d to your computer and use it in GitHub Desktop.
Type the following into a SML/NJ REPL.
This file contains hidden or 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
fun sml n j = (j+1, if n = j then j else j+1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment