Created
January 18, 2016 16:49
-
-
Save jponge/4f26ac45bb98b6a68de7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
native("jvm") module plop "1.0.0" { | |
import "org.eclipse.golo:golo" "3.1.0-incubation-M1"; | |
} |
This file contains hidden or 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
shared package YoCeylon; |
This file contains hidden or 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
import gololang { ... } | |
shared void run() { | |
value fun = EvaluationEnvironment().def("|a| -> println(a)"); | |
if (is FunctionReference fun) { | |
fun.invoke("Yo!"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment