summaryrefslogtreecommitdiff
path: root/Lists
diff options
context:
space:
mode:
Diffstat (limited to 'Lists')
-rw-r--r--Lists/README.md17
-rw-r--r--Lists/lists.b21
2 files changed, 38 insertions, 0 deletions
diff --git a/Lists/README.md b/Lists/README.md
new file mode 100644
index 0000000..3daa129
--- /dev/null
+++ b/Lists/README.md
@@ -0,0 +1,17 @@
+# Lists
+
+Limbo supports lists of a type as a basic construct.
+
+## Source
+
+###
+
+
+
+## Demo
+
+
+
+## Exercises
+
+- Try reversing a list.
diff --git a/Lists/lists.b b/Lists/lists.b
new file mode 100644
index 0000000..0837c8a
--- /dev/null
+++ b/Lists/lists.b
@@ -0,0 +1,21 @@
+implement Lists;
+
+include "sys.m";
+include "draw.m";
+
+include "arg.m";
+
+sys: Sys;
+print: import sys;
+
+Lists: module {
+ init: fn(nil: ref Draw->Context, argv: list of string);
+};
+
+init(nil: ref Draw->Context, argv: list of string) {
+ sys = load Sys Sys->PATH;
+
+
+
+ exit;
+}