mirror of
https://github.com/GayPizzaSpecifications/pork.git
synced 2026-02-04 18:40:19 +00:00
Exportable functions, common frontend, and scoped imports.
This commit is contained in:
@@ -7,7 +7,7 @@ func fib(n) {
|
||||
else fib(n - 1) + fib(n - 2)
|
||||
}
|
||||
|
||||
func main() {
|
||||
export func main() {
|
||||
result = fib(20)
|
||||
println(result)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user