diff options
Diffstat (limited to 'test/corecursive_func.tm')
| -rw-r--r-- | test/corecursive_func.tm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/corecursive_func.tm b/test/corecursive_func.tm index a5c13dde..168300d4 100644 --- a/test/corecursive_func.tm +++ b/test/corecursive_func.tm @@ -1,14 +1,14 @@ func ping(x:Int)->[Text]: if x > 0: - return ["ping: {x}"] ++ pong(x-1) + return ["ping: $x"] ++ pong(x-1) else: - return ["ping: {x}"] + return ["ping: $x"] func pong(x:Int)->[Text]: if x > 0: - return ["pong: {x}"] ++ ping(x-1) + return ["pong: $x"] ++ ping(x-1) else: - return ["pong: {x}"] + return ["pong: $x"] func main(): >> ping(3) |
