]> gitweb.factorcode.org Git - factor.git/blobdiff - core/sequences/sequences-docs.factor
core: cramp -> bound (was short)
[factor.git] / core / sequences / sequences-docs.factor
index 63c3921747cbba7b248eaa5ff37a0f0c4e49fb7d..1a7f7e74ba7019d98de8f9bbebd2d70938ee7e3a 100644 (file)
@@ -1080,7 +1080,7 @@ HELP: head
     }
     "When a sequence may not have enough elements:"
     { $example "USING: sequences prettyprint ;"
-        "{ 1 2 } 5 cramp head ."
+        "{ 1 2 } 5 bound head ."
         "{ 1 2 }"
     }
 }
@@ -1096,7 +1096,7 @@ HELP: tail
     }
     "When a sequence may not have enough elements:"
     { $example "USING: sequences prettyprint ;"
-        "{ 1 2 } 5 cramp tail ."
+        "{ 1 2 } 5 bound tail ."
         "{ }"
     }
 }
@@ -1122,7 +1122,7 @@ HELP: head*
     }
     "When a sequence may not have enough elements:"
     { $example "USING: sequences prettyprint ;"
-        "{ 1 2 } 5 cramp head* ."
+        "{ 1 2 } 5 bound head* ."
         "{ }"
     }
 }
@@ -1138,7 +1138,7 @@ HELP: tail*
     }
     "When a sequence may not have enough elements:"
     { $example "USING: sequences prettyprint ;"
-        "{ 1 2 } 5 cramp tail* ."
+        "{ 1 2 } 5 bound tail* ."
         "{ 1 2 }"
     }
 }
@@ -1627,12 +1627,12 @@ HELP: sequence-hashcode-step
      { "newhash" integer } }
 { $description "An implementation word that computes a running hashcode of a sequence using some bit-twiddling. The resulting hashcode is always a fixnum." } ;
 
-HELP: cramp
+HELP: bound
 { $values
      { "seq" sequence } { "n" integer } { "n'" integer } }
 { $description "Returns the input sequence and its length or " { $snippet "n" } ", whichever is less." }
 { $examples { $example "USING: sequences kernel prettyprint ;"
-    "\"abcd\" 3 cramp [ . ] bi@"
+    "\"abcd\" 3 bound [ . ] bi@"
     "\"abcd\"\n3"
 } } ;