|
|
1.1 ! root 1: .so tmac.ilib ! 2: .TH STRUCTS 2 "The University of Arizona \- 4/26/83" ! 3: .SH NAME ! 4: structs \- structure operations ! 5: .SH DESCRIPTION ! 6: These procedures for manipulating structures are taken from \fIThe Icon ! 7: Programming Language\fR. ! 8: .SH SYNOPSIS ! 9: .nf ! 10: .ta 1.5i ! 11: \*Mdepth(a)\fR compute maximum depth of tree \*Ma\fR ! 12: \*Meq(x,\*by)\fR compare list structures \*Mx\fR and \*My\fR ! 13: \*Mldag(s)\fR construct a dag from the string \*Ms\fR ! 14: \*Mlgraph(s)\fR construct a graph from the string \*Msgraph\fR ! 15: \*Mltree(s)\fR construct a tree from the string \*Ms\fR ! 16: \*Mstree(a)\fR construct a string from the list \*Ma\fR ! 17: \*Mtcopy(a)\fR copy tree \*Ma\fR ! 18: \*Mteq(a1,\*ba2)\fR compare trees \*Ma1\fR and \*Ma2\fR ! 19: \*Mvisit(a)\fR visit, in preorder, the nodes of \*Ma\fR ! 20: .SH NOTE ! 21: The procedure \*Mldag\fR has a second argument that is used on internal ! 22: recursive calls; a second argument must not be supplied by the user. ! 23: .SH SEE ALSO ! 24: .Ib ! 25: pp. 170-180, 295. ! 26: .SH AUTHOR ! 27: Ralph E. Griswold
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.