.


:




:

































 

 

 

 


9.7.




% show(Tree):

show Tree):-show2(Tree, 0).

% show2(Tree, Indent): Tree Indent show2 (nil, _ i.


show2(t(Left, X, Right), indent) Ind2 is Indent + 2, show2[ Right, Ind2>, tab! Indent), write X), nl, show2(Left, Ind2).


%

i

% ,

%


9.10. , , - . ( ) , , .


9.







:


: 2015-10-01; !; : 468 |


:

:

, .
==> ...

1772 - | 1521 -


© 2015-2024 lektsii.org - -

: 0.006 .