I've done this too:
Posted: Sat Aug 11, 2007 10:47 am
				
				... forgetting to group expressions in a block after if, I mean. As described by teslafreak:
http://teslafreak.vox.com/library/post/ ... wlisp.html
I once wrote a macro that didn't need to 'begin', but couldn't do anything 'else':
but more recently I've started using cond a bit more.
			http://teslafreak.vox.com/library/post/ ... wlisp.html
I once wrote a macro that didn't need to 'begin', but couldn't do anything 'else':
Code: Select all
(define-macro (if* condition) 
(let (c (eval condition)) 
   (if c (map eval (args)))))
(if* true
   (println "yes")
   (println "I've")
   (println "done")
   (println "that")
   (println "too!"))