about summary refs log tree commit diff stats
path: root/scratch/a.brev
diff options
context:
space:
mode:
authorelioat <hi@eli.li>2023-12-16 12:53:34 -0500
committerelioat <hi@eli.li>2023-12-16 12:53:34 -0500
commitacdc3b0d78bf26f9a314e96151fb72b13b6418a5 (patch)
treecf945610a986f6e14d552c93ee1ce18b39ba850e /scratch/a.brev
parent30eb42e65e369705337d2419e06a61a7cab1bfc1 (diff)
downloaddecember-2023-acdc3b0d78bf26f9a314e96151fb72b13b6418a5.tar.gz
*
Diffstat (limited to 'scratch/a.brev')
-rw-r--r--scratch/a.brev15
1 files changed, 15 insertions, 0 deletions
diff --git a/scratch/a.brev b/scratch/a.brev
new file mode 100644
index 0000000..62f0d18
--- /dev/null
+++ b/scratch/a.brev
@@ -0,0 +1,15 @@
+(import brev mdg)
+
+(print "hi there")
+
+(define 
+	(strange a b)
+	(list 'product (* a b)))
+
+(define
+  (strange a b)
+	(list 'sum (require even? (+ a b))))
+
+(print
+ (map strange '(1 2 3 4) '(5 5 7 8))
+ ((over (+ x x y i)) '(10 20 40) '(3 6 9)))
\ No newline at end of file