sequences-docs: add short help for the words longest and shortest
parent
24a071d6e6
commit
106e1ea4f3
|
@ -1205,6 +1205,16 @@ HELP: supremum
|
||||||
|
|
||||||
{ min max supremum infimum } related-words
|
{ min max supremum infimum } related-words
|
||||||
|
|
||||||
|
HELP: shortest
|
||||||
|
{ $values { "seq" sequence } { "elt" object } }
|
||||||
|
{ $description "Outputs the shortest element of " { $snippet "seq" } "." } ;
|
||||||
|
|
||||||
|
HELP: longest
|
||||||
|
{ $values { "seq" sequence } { "elt" object } }
|
||||||
|
{ $description "Outputs the longest element of " { $snippet "seq" } "." } ;
|
||||||
|
|
||||||
|
{ shortest longest } related-words
|
||||||
|
|
||||||
HELP: produce
|
HELP: produce
|
||||||
{ $values { "pred" { $quotation ( ..a -- ..b ? ) } } { "quot" { $quotation ( ..b -- ..a obj ) } } { "seq" sequence } }
|
{ $values { "pred" { $quotation ( ..a -- ..b ? ) } } { "quot" { $quotation ( ..b -- ..a obj ) } } { "seq" sequence } }
|
||||||
{ $description "Calls " { $snippet "pred" } " repeatedly. If the predicate yields " { $link f } ", stops, otherwise, calls " { $snippet "quot" } " to yield a value. Values are accumulated and returned in a sequence at the end." }
|
{ $description "Calls " { $snippet "pred" } " repeatedly. If the predicate yields " { $link f } ", stops, otherwise, calls " { $snippet "quot" } " to yield a value. Values are accumulated and returned in a sequence at the end." }
|
||||||
|
|
Loading…
Reference in New Issue