From d0abbba7c1636072a3b3e9e084dfec33aa960208 Mon Sep 17 00:00:00 2001 From: Ugric Date: Tue, 14 Mar 2023 00:09:03 +0000 Subject: [PATCH] change example --- cool_module.ar | 4 ++++ example.ar | 3 +++ test.ar | 4 ---- 3 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 cool_module.ar create mode 100644 example.ar delete mode 100644 test.ar diff --git a/cool_module.ar b/cool_module.ar new file mode 100644 index 0000000..b913d03 --- /dev/null +++ b/cool_module.ar @@ -0,0 +1,4 @@ +cool_function() = do + term.log("this is a cool function") + time.snooze(1) + term.log("wow what a cool function") \ No newline at end of file diff --git a/example.ar b/example.ar new file mode 100644 index 0000000..8099a06 --- /dev/null +++ b/example.ar @@ -0,0 +1,3 @@ +import "cool_module" as cool + +cool.cool_function() \ No newline at end of file diff --git a/test.ar b/test.ar deleted file mode 100644 index 315cf2d..0000000 --- a/test.ar +++ /dev/null @@ -1,4 +0,0 @@ -test = 10 -poo = do - term.log("ran") - return "lol" \ No newline at end of file