aboutsummaryrefslogtreecommitdiff
path: root/examples/generated.csx
diff options
context:
space:
mode:
Diffstat (limited to 'examples/generated.csx')
-rw-r--r--examples/generated.csx9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/generated.csx b/examples/generated.csx
new file mode 100644
index 0000000..4d22565
--- /dev/null
+++ b/examples/generated.csx
@@ -0,0 +1,9 @@
+[define map [fn [f l] [if [not l] []
+ [pair [f [head l]] [map f [tail l]]]
+]]]
+
+[map [fn [n] [outnum n] [output 10]]
+ [map [fn [n] [sum n 10]]
+ [quote [1 2 3 4 5]]
+ ]
+]