(eval (read-string "(+ 2 3)"))
;=>5
-;;; TODO: fix newline matching so that this works
-;;;(slurp "../tests/test.txt")
-;;;;=>"A line of text\n"
-
+(slurp "../tests/test.txt")
+;=>"A line of text\n"
;; Testing load-file
;; Testing swap!/closure interaction
(def! inc-it (fn* (a) (+ 1 a)))
(def! atm (atom 7))
-(def! f (fn* [] (swap! atm inc-it)))
+(def! f (fn* () (swap! atm inc-it)))
(f)
;=>8
(f)
;=>9
-;; -------- Optional Functionality --------
+;>>> deferrable=True
+;>>> optional=True
+;;
+;; -------- Deferrable/Optional Functionality --------
;; Testing comments in a file
(load-file "../tests/incB.mal")