Skip to content

Instantly share code, notes, and snippets.

@samuelgoto
Created August 30, 2017 23:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samuelgoto/aceb99e50181347f2c8ff590dc60c796 to your computer and use it in GitHub Desktop.
Save samuelgoto/aceb99e50181347f2c8ff590dc60c796 to your computer and use it in GitHub Desktop.
Would it enable things like with(foo) { hello(); bar(); }?
much like lock(resource) { do(); }
https://kotlinlang.org/docs/reference/lambdas.html
?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment