Fix code example in CodePatterns
Posted: Thu Dec 26, 2013 11:02 pm
Code: Select all
; walks a disk directory and prints all path-file names
;
(define (show-tree dir)
(if (directory dir)
http://www.newlisp.org/CodePatterns.html#toc-5
Both versions work, but I think (directory) is more likely to throw an error or fail.