]> gitweb.factorcode.org Git - factor.git/commitdiff
alien.data-docs: fix wording and punctuation in cast-array help
authorAlexander Iljin <ajsoft@yandex.ru>
Sun, 2 Jun 2019 16:38:05 +0000 (18:38 +0200)
committerJohn Benediktsson <mrjbq7@gmail.com>
Tue, 14 Apr 2020 17:41:18 +0000 (10:41 -0700)
basis/alien/data/data-docs.factor

index 73281fb71db7e9d23e70853a7c976d43d00f19fd..3344b0a3c3a382fb07167a169ff915ef068e2a2d 100644 (file)
@@ -41,8 +41,8 @@ HELP: memory>byte-array
 
 HELP: cast-array
 { $values { "byte-array" byte-array } { "c-type" "a C type" } { "array" "a specialized array" } }
-{ $description "Converts a byte array into a specialized array by interpreting the bytes in as machine-specific values. Code which uses this word is unportable." }
-{ $notes "The appropriate specialized array vocabulary must be loaded; otherwise, an error will be thrown. See the " { $vocab-link "specialized-arrays" } " vocabulary for details on the underlying sequence type constructed." }
+{ $description "Converts a " { $link byte-array } " into a specialized array by interpreting the bytes in it as machine-specific values. Code using this word is unportable." }
+{ $notes "The appropriate specialized array vocabulary must be loaded, otherwise an error will be thrown. See the " { $vocab-link "specialized-arrays" } " vocabulary for details on the underlying sequence type constructed." }
 { $errors "Throws an error if the type does not exist, the necessary specialized array vocabulary is not loaded, or the requested size is negative." } ;
 
 HELP: malloc-array