Last active
July 29, 2023 00:22
-
-
Save phatnhse/7cd886f5ba92fe44082be58576f31a00 to your computer and use it in GitHub Desktop.
inline-without-lamda
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 main() { | |
print("foo ") | |
bar() | |
// prints: foo bar | |
} | |
inline fun bar() { | |
print("bar") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment