aboutsummaryrefslogtreecommitdiffstats
path: root/other.sy
diff options
context:
space:
mode:
authorEdvard Thörnros <edvard.thornros@gmail.com>2021-02-28 19:10:27 +0100
committerEdvard Thörnros <edvard.thornros@gmail.com>2021-02-28 19:10:27 +0100
commit2090888dce496f893638268b0aef981c96b68ac3 (patch)
tree246dc16652c7b98e18bbe2b9d5820142d365f5e5 /other.sy
parent630bd52c8d5a7d362066d8d05c88a1e76c6c81b1 (diff)
downloadsylt-2090888dce496f893638268b0aef981c96b68ac3.tar.gz
imports almost work
Diffstat (limited to 'other.sy')
-rw-r--r--other.sy6
1 files changed, 3 insertions, 3 deletions
diff --git a/other.sy b/other.sy
index 3651af5..f959b3f 100644
--- a/other.sy
+++ b/other.sy
@@ -2,8 +2,8 @@ f :: fn {
print "f"
}
-// answer := 42
-g :: fn {
- // ret answer
+g :: fn -> int {
+ answer :: 42
+ ret answer
}