Skip to content

Instantly share code, notes, and snippets.

@sajjadyousefnia
Created September 19, 2018 15:21
Show Gist options
  • Select an option

  • Save sajjadyousefnia/7cc72f6ee2b239979f41cc33243b21d4 to your computer and use it in GitHub Desktop.

Select an option

Save sajjadyousefnia/7cc72f6ee2b239979f41cc33243b21d4 to your computer and use it in GitHub Desktop.
val doubler = multiplier(2)
print(doubler(5.6)) // 11.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment