From: Keita Haga Date: Sat, 8 Jan 2011 13:26:06 +0000 (+0900) Subject: continuations, io.binary: add whitespace between '"' and '{ $snippet' in the document... X-Git-Tag: 0.97~4423 X-Git-Url: https://gitweb.factorcode.org/gitweb.cgi?p=factor.git;a=commitdiff_plain;h=1aaa0409a1c135fae5e79c096f329b52b101f1b6 continuations, io.binary: add whitespace between '"' and '{ $snippet' in the documentation --- diff --git a/core/continuations/continuations-docs.factor b/core/continuations/continuations-docs.factor index dfecf75f90..300c9c63bc 100644 --- a/core/continuations/continuations-docs.factor +++ b/core/continuations/continuations-docs.factor @@ -131,7 +131,7 @@ HELP: >continuation< HELP: ifcc { $values { "capture" { $quotation "( continuation -- )" } } { "restore" quotation } } -{ $description "Reifies a continuation from the point immediately after which this word returns, and passes it to " { $snippet "capture" } ". When the continuation is restored, execution resumes and "{ $snippet "restore" } " is called." } ; +{ $description "Reifies a continuation from the point immediately after which this word returns, and passes it to " { $snippet "capture" } ". When the continuation is restored, execution resumes and " { $snippet "restore" } " is called." } ; { callcc0 continue callcc1 continue-with ifcc } related-words diff --git a/core/io/binary/binary-docs.factor b/core/io/binary/binary-docs.factor index 1339cc6090..443de70132 100644 --- a/core/io/binary/binary-docs.factor +++ b/core/io/binary/binary-docs.factor @@ -6,7 +6,7 @@ ARTICLE: "stream-binary" "Working with binary data" $nl "There are two ways to order the bytes making up an integer; " { $emphasis "little endian" } " byte order outputs the least significant byte first, and the most significant byte last, whereas " { $emphasis "big endian" } " is the other way around." $nl -"Consider the hexadecimal integer "{ $snippet "HEX: cafebabe" } ". Little endian byte order yields the following sequence of bytes:" +"Consider the hexadecimal integer " { $snippet "HEX: cafebabe" } ". Little endian byte order yields the following sequence of bytes:" { $table { "Byte:" "1" "2" "3" "4" } { "Value:" { $snippet "be" } { $snippet "ba" } { $snippet "fe" } { $snippet "ca" } }