Last active
April 23, 2020 12:59
-
-
Save sagarpatel288/e2e498f6efbb93b37a5ca8979ba4516d to your computer and use it in GitHub Desktop.
Syntax of a Lambda expression
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
//nameOfTheLambda: function type = { comma separated pascal parameters -> business logic } | |
val lambda: (Int, Int): Int = { x: Int, y: Int -> x + y } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment