fix some help-lint errors.
parent
daec237fea
commit
03b7e67547
|
@ -2,7 +2,9 @@ USING: help.markup help.syntax ;
|
|||
IN: io.encodings.utf7
|
||||
|
||||
HELP: utf7
|
||||
{ $values { "utf7codec" utf7codec } }
|
||||
{ $description "Encoding descriptor for UTF-7 encoding." } ;
|
||||
|
||||
HELP: utf7imap4
|
||||
{ $values { "utf7codec" utf7codec } }
|
||||
{ $description "Encoding descriptor for the encoding UTF-7 modified for IMAP (see RFC 3501 5.1.3)." } ;
|
||||
|
|
|
@ -10,13 +10,13 @@ TUPLE: utf7codec dialect buffer ;
|
|||
! These words encodes the difference between standard utf7 and the
|
||||
! dialect used by IMAP which wants slashes replaced with commas when
|
||||
! encoding and uses '&' instead of '+' as the escaping character.
|
||||
: utf7 ( -- t )
|
||||
: utf7 ( -- utf7codec )
|
||||
{
|
||||
{ { } { } }
|
||||
{ { CHAR: + } { CHAR: - } }
|
||||
} V{ } utf7codec boa ;
|
||||
|
||||
: utf7imap4 ( -- t )
|
||||
: utf7imap4 ( -- utf7codec )
|
||||
{
|
||||
{ { CHAR: / } { CHAR: , } }
|
||||
{ { CHAR: & } { CHAR: - } }
|
||||
|
|
|
@ -3,12 +3,12 @@ USING: help.markup help.syntax sequences splitting strings ;
|
|||
IN: grouping.extras
|
||||
|
||||
HELP: group-by
|
||||
{ $values { "seq" "a sequence" } { "quot" { $quotation "( ... elt -- ... key )" } } { "groups" "a new assoc" } }
|
||||
{ $values { "seq" "a sequence" } { "quot" { $quotation "( elt -- key )" } } { "groups" "a new assoc" } }
|
||||
{ $description "Groups the elements by the key received by applying quot to each element in the sequence." }
|
||||
{ $examples
|
||||
{ $example
|
||||
"USING: grouping.extras unicode.data ;"
|
||||
"\"THis String Has CasE!\" [ category ] group-by [ last >string ] map ."
|
||||
"USING: grouping.extras unicode.data prettyprint sequences strings ;"
|
||||
"\"THis String Has CasE!\" [ category ] group-by [ last >string ] { } map-as ."
|
||||
"{ \"TH\" \"is\" \" \" \"S\" \"tring\" \" \" \"H\" \"as\" \" \" \"C\" \"as\" \"E\" \"!\" }"
|
||||
}
|
||||
} ;
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
USING: help.syntax help.markup html.parser html.parser.analyzer sequences
|
||||
strings ;
|
||||
USING: help.syntax help.markup html.parser html.parser.analyzer
|
||||
kernel sequences strings ;
|
||||
IN: html.parser.analyzer
|
||||
|
||||
HELP: html-class?
|
||||
{ $values { "tag" tag } { "string" "a classname" } }
|
||||
{ $values { "tag" tag } { "string" "a classname" } { "?" boolean } }
|
||||
{ $description "t if the tag has the given class." } ;
|
||||
|
||||
HELP: stack-find
|
||||
|
|
Loading…
Reference in New Issue