Created
October 29, 2018 21:07
-
-
Save teivah/e73d505d59ab7be452066230bedb0db9 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
val increment: Int => Int = (x: Int) => x + 1 | |
println(increment(5)) // Prints 6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment