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