From 6c01eef851439549018267fdc439e4884af0c624 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 12 Apr 2024 13:09:31 -0400 Subject: Introducing the main() function --- test/corecursive_func.tm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test/corecursive_func.tm') diff --git a/test/corecursive_func.tm b/test/corecursive_func.tm index 0ff92e53..22ffd627 100644 --- a/test/corecursive_func.tm +++ b/test/corecursive_func.tm @@ -10,5 +10,6 @@ func pong(x:Int)->[Text] else return ["pong: {x}"] ->> ping(3) -= ["ping: 3", "pong: 2", "ping: 1", "pong: 0"] +func main() + >> ping(3) + = ["ping: 3", "pong: 2", "ping: 1", "pong: 0"] -- cgit v1.2.3