]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/bit-vectors/bit-vectors-docs.factor
core, basis, extra: Remove DOS line endings from files.
[factor.git] / basis / bit-vectors / bit-vectors-docs.factor
index 34bc8f5ab3355649163c7a005d51785e6da9b88f..88ddb0c2a1ac3b94a3d8047244f38a50a4b3bce4 100644 (file)
@@ -1,40 +1,40 @@
-USING: help.markup help.syntax sequences ;\r
-IN: bit-vectors\r
-\r
-ARTICLE: "bit-vectors" "Bit vectors"\r
-"A bit vector is a resizable mutable sequence of bits. Bit vector words are found in the " { $vocab-link "bit-vectors" } " vocabulary."\r
-$nl\r
-"Bit vectors form a class:"\r
-{ $subsections\r
-    bit-vector\r
-    bit-vector?\r
-}\r
-"Creating bit vectors:"\r
-{ $subsections\r
-    >bit-vector\r
-    <bit-vector>\r
-}\r
-"Literal syntax:"\r
-{ $subsections POSTPONE: ?V{ }\r
-"If you don't care about initial capacity, a more elegant way to create a new bit vector is to write:"\r
-{ $code "?V{ } clone" } ;\r
-\r
-ABOUT: "bit-vectors"\r
-\r
-HELP: bit-vector\r
-{ $description "The class of resizable bit vectors. See " { $link "bit-vectors" } " for information." } ;\r
-\r
-HELP: <bit-vector>\r
-{ $values { "capacity" "a positive integer specifying initial capacity" } { "vector" bit-vector } }\r
-{ $description "Creates a new bit vector that can hold " { $snippet "n" } " bits before resizing." } ;\r
-\r
-HELP: >bit-vector\r
-{ $values { "seq" sequence } { "vector" bit-vector } }\r
-{ $description "Outputs a freshly-allocated bit vector with the same elements as a given sequence." } ;\r
-\r
-HELP: ?V{\r
-{ $syntax "?V{ elements... }" }\r
-{ $values { "elements" "a list of booleans" } }\r
-{ $description "Marks the beginning of a literal bit vector. Literal bit vectors are terminated by " { $link POSTPONE: } } "." } \r
-{ $examples { $code "?V{ t f t }" } } ;\r
-\r
+USING: help.markup help.syntax sequences ;
+IN: bit-vectors
+
+ARTICLE: "bit-vectors" "Bit vectors"
+"A bit vector is a resizable mutable sequence of bits. Bit vector words are found in the " { $vocab-link "bit-vectors" } " vocabulary."
+$nl
+"Bit vectors form a class:"
+{ $subsections
+    bit-vector
+    bit-vector?
+}
+"Creating bit vectors:"
+{ $subsections
+    >bit-vector
+    <bit-vector>
+}
+"Literal syntax:"
+{ $subsections POSTPONE: ?V{ }
+"If you don't care about initial capacity, a more elegant way to create a new bit vector is to write:"
+{ $code "?V{ } clone" } ;
+
+ABOUT: "bit-vectors"
+
+HELP: bit-vector
+{ $description "The class of resizable bit vectors. See " { $link "bit-vectors" } " for information." } ;
+
+HELP: <bit-vector>
+{ $values { "capacity" "a positive integer specifying initial capacity" } { "vector" bit-vector } }
+{ $description "Creates a new bit vector that can hold " { $snippet "n" } " bits before resizing." } ;
+
+HELP: >bit-vector
+{ $values { "seq" sequence } { "vector" bit-vector } }
+{ $description "Outputs a freshly-allocated bit vector with the same elements as a given sequence." } ;
+
+HELP: ?V{
+{ $syntax "?V{ elements... }" }
+{ $values { "elements" "a list of booleans" } }
+{ $description "Marks the beginning of a literal bit vector. Literal bit vectors are terminated by " { $link POSTPONE: } } "." } 
+{ $examples { $code "?V{ t f t }" } } ;
+