Skip to content

Instantly share code, notes, and snippets.

@sagarpatel288
Created April 23, 2020 12:37
Show Gist options
  • Save sagarpatel288/2978c07f983fd130fb197efd497c0f80 to your computer and use it in GitHub Desktop.
Save sagarpatel288/2978c07f983fd130fb197efd497c0f80 to your computer and use it in GitHub Desktop.
Syntax of an anonymous function
//fun(comma separated pascal parameters) = business logic
fun(x: Int, y: Int) = x + y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment