Skip to content

cbaggers/draw-cons-tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

draw-cons-tree

Draws and ascii picture of a cons tree.

CL-USER> (draw-tree '(a b (c nil 1)))
[o|o]---[o|o]---[o|/]
 |       |       |      
 A       B      [o|o]---[o|o]---[o|/]
                 |       |       |      
                 C      NIL      1      
NIL

Ported from the function library of "Scheme 9 from Empty Space" http://www.t3x.org/s9fes/draw-tree.scm.html

Library is in the public domain in keeping with the original

About

Draws and ascii picture of a cons tree

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published