docs: replace $description with $class-description for class words
parent
a337a0349d
commit
1aded9abdd
|
@ -40,7 +40,7 @@ HELP: ?{
|
|||
{ $examples { $code "?{ t f t }" } } ;
|
||||
|
||||
HELP: bit-array
|
||||
{ $description "The class of fixed-length bit arrays." } ;
|
||||
{ $class-description "The class of fixed-length bit arrays." } ;
|
||||
|
||||
HELP: <bit-array>
|
||||
{ $values { "n" "a non-negative integer" } { "bit-array" "a new " { $link bit-array } } }
|
||||
|
|
|
@ -22,7 +22,7 @@ $nl
|
|||
ABOUT: "bit-vectors"
|
||||
|
||||
HELP: bit-vector
|
||||
{ $description "The class of resizable bit vectors. See " { $link "bit-vectors" } " for information." } ;
|
||||
{ $class-description "The class of resizable bit vectors. See " { $link "bit-vectors" } " for information." } ;
|
||||
|
||||
HELP: <bit-vector>
|
||||
{ $values { "capacity" "a positive integer specifying initial capacity" } { "vector" bit-vector } }
|
||||
|
|
|
@ -8,14 +8,14 @@ HELP: new-dispatcher
|
|||
{ $description "Creates a new instance of a subclass of " { $link dispatcher } "." } ;
|
||||
|
||||
HELP: dispatcher
|
||||
{ $description "The class of dispatchers. May be subclassed, in which case subclasses should be constructed by calling " { $link new-dispatcher } "." } ;
|
||||
{ $class-description "The class of dispatchers. May be subclassed, in which case subclasses should be constructed by calling " { $link new-dispatcher } "." } ;
|
||||
|
||||
HELP: <dispatcher>
|
||||
{ $values { "dispatcher" dispatcher } }
|
||||
{ $description "Creates a new pathname dispatcher." } ;
|
||||
|
||||
HELP: vhost-dispatcher
|
||||
{ $description "The class of virtual host dispatchers." } ;
|
||||
{ $class-description "The class of virtual host dispatchers." } ;
|
||||
|
||||
HELP: <vhost-dispatcher>
|
||||
{ $values { "dispatcher" vhost-dispatcher } }
|
||||
|
|
|
@ -2,7 +2,7 @@ USING: help.markup help.syntax http.server ;
|
|||
IN: http.server.filters
|
||||
|
||||
HELP: filter-responder
|
||||
{ $description "The class of filter responders. This class is intended to be subclassed." } ;
|
||||
{ $class-description "The class of filter responders. This class is intended to be subclassed." } ;
|
||||
|
||||
ARTICLE: "http.server.filters" "HTTP responder filters"
|
||||
"The " { $vocab-link "http.server.filters" } " vocabulary implements the common pattern where one responder wraps another, doing some processing before calling the wrapped responder."
|
||||
|
|
|
@ -4,7 +4,7 @@ USE: html.forms ! needed for $link in param
|
|||
IN: http.server
|
||||
|
||||
HELP: trivial-responder
|
||||
{ $description "The class of trivial responders, which output the same response for every request. New instances are created by calling " { $link <trivial-responder> } "." } ;
|
||||
{ $class-description "The class of trivial responders, which output the same response for every request. New instances are created by calling " { $link <trivial-responder> } "." } ;
|
||||
|
||||
HELP: <trivial-responder>
|
||||
{ $values { "response" response } { "trivial-responder" trivial-responder } }
|
||||
|
|
|
@ -43,7 +43,7 @@ $nl
|
|||
ABOUT: "arrays"
|
||||
|
||||
HELP: array
|
||||
{ $description "The class of fixed-length arrays. See " { $link "syntax-arrays" } " for syntax and " { $link "arrays" } " for general information." } ;
|
||||
{ $class-description "The class of fixed-length arrays. See " { $link "syntax-arrays" } " for syntax and " { $link "arrays" } " for general information." } ;
|
||||
|
||||
HELP: <array>
|
||||
{ $values { "n" "a non-negative integer" } { "elt" "an initial element" } { "array" "a new array" } }
|
||||
|
|
|
@ -28,7 +28,7 @@ $nl
|
|||
ABOUT: "byte-arrays"
|
||||
|
||||
HELP: byte-array
|
||||
{ $description "The class of byte arrays. See " { $link "syntax-byte-arrays" } " for syntax and " { $link "byte-arrays" } " for general information." } ;
|
||||
{ $class-description "The class of byte arrays. See " { $link "syntax-byte-arrays" } " for syntax and " { $link "byte-arrays" } " for general information." } ;
|
||||
|
||||
HELP: <byte-array>
|
||||
{ $values { "n" "a non-negative integer" } { "byte-array" "a new byte array" } }
|
||||
|
|
|
@ -22,7 +22,7 @@ $nl
|
|||
ABOUT: "byte-vectors"
|
||||
|
||||
HELP: byte-vector
|
||||
{ $description "The class of resizable byte vectors. See " { $link "byte-vectors" } " for information." } ;
|
||||
{ $class-description "The class of resizable byte vectors. See " { $link "byte-vectors" } " for information." } ;
|
||||
|
||||
HELP: <byte-vector>
|
||||
{ $values { "n" "a positive integer specifying initial capacity" } { "byte-vector" byte-vector } }
|
||||
|
|
|
@ -58,7 +58,7 @@ ARTICLE: "hashtables.utilities" "Hashtable utilities"
|
|||
ABOUT: "hashtables"
|
||||
|
||||
HELP: hashtable
|
||||
{ $description "The class of hashtables. See " { $link "syntax-hashtables" } " for syntax and " { $link "hashtables" } " for general information." } ;
|
||||
{ $class-description "The class of hashtables. See " { $link "syntax-hashtables" } " for syntax and " { $link "hashtables" } " for general information." } ;
|
||||
|
||||
HELP: hash@
|
||||
{ $values { "key" "a key" } { "array" "the underlying array of a hashtable" } { "i" "the index to begin hashtable search" } }
|
||||
|
|
|
@ -45,7 +45,7 @@ HELP: callable
|
|||
{ $class-description "The class whose instances can be passed to " { $link call } ". This includes quotations and composed quotations built up with " { $link curry } " or " { $link compose } "." } ;
|
||||
|
||||
HELP: quotation
|
||||
{ $description "The class of quotations. See " { $link "syntax-quots" } " for syntax and " { $link "quotations" } " for general information." } ;
|
||||
{ $class-description "The class of quotations. See " { $link "syntax-quots" } " for syntax and " { $link "quotations" } " for general information." } ;
|
||||
|
||||
HELP: >quotation
|
||||
{ $values { "seq" sequence } { "quot" quotation } }
|
||||
|
@ -61,7 +61,7 @@ HELP: 1quotation
|
|||
} ;
|
||||
|
||||
HELP: wrapper
|
||||
{ $description "The class of wrappers. Wrappers are created by calling " { $link literalize } ". See " { $link "syntax-words" } " for syntax." } ;
|
||||
{ $class-description "The class of wrappers. Wrappers are created by calling " { $link literalize } ". See " { $link "syntax-words" } " for syntax." } ;
|
||||
|
||||
HELP: <wrapper>
|
||||
{ $values { "obj" object } { "wrapper" wrapper } }
|
||||
|
|
|
@ -23,7 +23,7 @@ $nl
|
|||
ABOUT: "sbufs"
|
||||
|
||||
HELP: sbuf
|
||||
{ $description "The class of resizable character strings. See " { $link "syntax-sbufs" } " for syntax and " { $link "sbufs" } " for general information." } ;
|
||||
{ $class-description "The class of resizable character strings. See " { $link "syntax-sbufs" } " for syntax and " { $link "sbufs" } " for general information." } ;
|
||||
|
||||
HELP: <sbuf>
|
||||
{ $values { "n" "a positive integer specifying initial capacity" } { "sbuf" sbuf } }
|
||||
|
|
|
@ -27,7 +27,7 @@ $nl
|
|||
ABOUT: "strings"
|
||||
|
||||
HELP: string
|
||||
{ $description "The class of fixed-length character strings. See " { $link "syntax-strings" } " for syntax and " { $link "strings" } " for general information." } ;
|
||||
{ $class-description "The class of fixed-length character strings. See " { $link "syntax-strings" } " for syntax and " { $link "strings" } " for general information." } ;
|
||||
|
||||
HELP: string-nth
|
||||
{ $values { "n" fixnum } { "string" string } { "ch" "the character at the " { $snippet "n" } "th index" } }
|
||||
|
|
|
@ -28,7 +28,7 @@ $nl
|
|||
ABOUT: "vectors"
|
||||
|
||||
HELP: vector
|
||||
{ $description "The class of resizable vectors. See " { $link "syntax-vectors" } " for syntax and " { $link "vectors" } " for general information." } ;
|
||||
{ $class-description "The class of resizable vectors. See " { $link "syntax-vectors" } " for syntax and " { $link "vectors" } " for general information." } ;
|
||||
|
||||
HELP: <vector>
|
||||
{ $values { "n" "a positive integer specifying initial capacity" } { "vector" vector } }
|
||||
|
|
|
@ -2,7 +2,7 @@ USING: help.syntax help.markup words.symbol words compiler.units ;
|
|||
IN: words.symbol
|
||||
|
||||
HELP: symbol
|
||||
{ $description "The class of symbols created by " { $link POSTPONE: SYMBOL: } "." } ;
|
||||
{ $class-description "The class of symbols created by " { $link POSTPONE: SYMBOL: } "." } ;
|
||||
|
||||
HELP: define-symbol
|
||||
{ $values { "word" word } }
|
||||
|
|
|
@ -245,7 +245,7 @@ HELP: undefined
|
|||
} ;
|
||||
|
||||
HELP: primitive
|
||||
{ $description "The class of primitive words." } ;
|
||||
{ $class-description "The class of primitive words." } ;
|
||||
|
||||
HELP: word-prop
|
||||
{ $values { "word" word } { "name" "a property name" } { "value" "a property value" } }
|
||||
|
|
Loading…
Reference in New Issue