return page history
α-wwwiki
::
history/flat_tree/20130727-140329.txt
editor : alpha [82.254.3.71] 2013/07/27 14:03:29 {div {@ style="display:none;"} {define z () °° return 'span {@ style="color:blue;font-size:0.5em;"}' °°} } _h1 flat tree _p How to visualize a tree structure ? {pre (+ 1 2) (+ {{z} 1:}1 {{z} 2:}2 ) ====================== (+ 1 (* 2 3) 4) (+ {{z} 1:}1 {{z} 2:}(* {{z} 1:}2 {{z} 2:}3 ) {{z} 3:}4 ) ====================== (sqrt (+ (* 3 3) (* 4 4))) (sqrt {{z} 1:}(+ {{z} 1:}(* {{z} 1:}3 {{z} 2:}3 ) {{z} 2:}(* {{z} 1:}4 {{z} 2:}4 ) ) ) ====================== (define square (lambda x (* x x))) (define {{z} 1:}square {{z} 2:}(lambda {{z} 1:}x {{z} 2:}(* {{z} 1:}x {{z} 2:}x ) ) ) }