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)." } ;
! 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: - } }
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\" \"!\" }"
}
} ;
-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