summaryrefslogtreecommitdiff
path: root/src/lisp/test.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lisp/test.lisp')
-rw-r--r--src/lisp/test.lisp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lisp/test.lisp b/src/lisp/test.lisp
index f3427df2..37b550e0 100644
--- a/src/lisp/test.lisp
+++ b/src/lisp/test.lisp
@@ -40,4 +40,12 @@
(d (x) (d a)))
(c x)))
+
+(defn fif (a b x y z)
+ (if a
+ (if (if x y z)
+ y
+ z)
+ b))
+
(defn fr (a b & c) c) \ No newline at end of file