aboutsummaryrefslogtreecommitdiff
path: root/test/corecursive_func.tm
diff options
context:
space:
mode:
Diffstat (limited to 'test/corecursive_func.tm')
-rw-r--r--test/corecursive_func.tm4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/corecursive_func.tm b/test/corecursive_func.tm
index 168300d4..b5f5f13e 100644
--- a/test/corecursive_func.tm
+++ b/test/corecursive_func.tm
@@ -1,10 +1,10 @@
-func ping(x:Int)->[Text]:
+func ping(x:Int->[Text]):
if x > 0:
return ["ping: $x"] ++ pong(x-1)
else:
return ["ping: $x"]
-func pong(x:Int)->[Text]:
+func pong(x:Int->[Text]):
if x > 0:
return ["pong: $x"] ++ ping(x-1)
else: