Last active
May 13, 2024 22:00
-
-
Save birojow/85b8aabb22a55c447f4f73556dd38497 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
fun someFunction( | |
lambda: (String) -> Unit | |
) { | |
// TODO | |
} | |
fun main() { | |
someFunction({ print(it) }) | |
someFunction { | |
print(it) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment