From 699c407c2244b919919b53c0073696aa10bd5f28 Mon Sep 17 00:00:00 2001 From: Jordan Orelli Date: Sun, 21 Oct 2012 15:57:07 -0400 Subject: [PATCH] added some more input tests --- input.scm | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/input.scm b/input.scm index d24d094..b6fcb76 100644 --- a/input.scm +++ b/input.scm @@ -57,3 +57,16 @@ x (if (not #f) (quote "true-condition") (quote "false-condition")) (length (quote (1 2 3))) + +(list 1 2 3) +(length (list 1 2 3)) + +(null? null) + +; this one I don't get. It's supposed to evaluate to false? What? Why? +; Because null is an expression that evaluates to an empty sexp, but it's not, +; itself, actually null? What the fuck, lisp? +(null? (quote null)) + +(null? (quote ())) +(null? (list))