This is a giant refactor to move functions into a hierarchial module layout. While this isn't entirely implemented yet, it should work correctly once all the import bits have landed. What's broken at the moment is the template function, which currently doesn't understand the period separator.
7 lines
222 B
Plaintext
7 lines
222 B
Plaintext
# it was a lovely surprise to me, when i realized that mgmt had the answer!
|
|
import "fmt"
|
|
import "example"
|
|
print "answer" {
|
|
msg => fmt.printf("the answer to life, the universe, and everything is: %d", example.answer()),
|
|
}
|