]> gitweb.factorcode.org Git - factor.git/blob - extra/trees/avl/avl-docs.factor
factor: clean up whitespace in -docs files
[factor.git] / extra / trees / avl / avl-docs.factor
1 USING: help.syntax help.markup assocs ;
2 IN: trees.avl
3
4 HELP: AVL{
5 { $syntax "AVL{ { key value }... }" }
6 { $values { "key" "a key" } { "value" "a value" } }
7 { $description "Literal syntax for an AVL tree." } ;
8
9 HELP: <avl>
10 { $values { "tree" avl } }
11 { $description "Creates an empty AVL tree" } ;
12
13 HELP: >avl
14 { $values { "assoc" assoc } { "avl" avl } }
15 { $description "Converts any " { $link assoc } " into an AVL tree." } ;
16
17 HELP: avl
18 { $class-description "This is the class for AVL trees. These conform to the assoc protocol and have efficient (logarithmic time) storage and retrieval operations." } ;
19
20 ARTICLE: "trees.avl" "AVL trees"
21 "This is a library for AVL trees, with logarithmic time storage and retrieval operations. These trees conform to the assoc protocol."
22 { $subsections
23     avl
24     <avl>
25     >avl
26     POSTPONE: AVL{
27 } ;
28
29 ABOUT: "trees.avl"