fix a bunch of typos in docs
parent
83a442c30f
commit
0d4b9132d7
|
@ -2,13 +2,13 @@ USING: help.markup help.syntax strings alien ;
|
|||
IN: cocoa.messages
|
||||
|
||||
HELP: send
|
||||
{ $values { "args..." "method arguments" } { "receiver" alien } { "selector" string } { "return..." "value returned by method, if any" } }
|
||||
{ $values { "receiver" alien } { "args..." "method arguments" } { "selector" string } { "return..." "value returned by method, if any" } }
|
||||
{ $description "Sends an Objective C message named by " { $snippet "selector" } " to " { $snippet "receiver" } ". The arguments must be on the stack in left-to-right order." }
|
||||
{ $errors "Throws an error if the receiver does not recognize the message, or if the arguments have inappropriate types." }
|
||||
{ $notes "This word uses a special fast code path if " { $snippet "selector" } " is a literal and the word containing the call to " { $link send } " is compiled." } ;
|
||||
|
||||
HELP: super-send
|
||||
{ $values { "args..." "method arguments" } { "receiver" alien } { "selector" string } { "return..." "value returned by method, if any" } }
|
||||
{ $values { "receiver" alien } { "args..." "method arguments" } { "selector" string } { "return..." "value returned by method, if any" } }
|
||||
{ $description "Sends an Objective C message named by " { $snippet "selector" } " to the super class of " { $snippet "receiver" } ". Otherwise behaves identically to " { $link send } "." } ;
|
||||
|
||||
HELP: objc-class
|
||||
|
|
|
@ -2,7 +2,7 @@ USING: help.markup help.syntax strings alien hashtables ;
|
|||
IN: cocoa.subclassing
|
||||
|
||||
HELP: define-objc-class
|
||||
{ $values { "hash" hashtable } { "imeth" "a sequence of instance method definitions" } }
|
||||
{ $values { "imeth" "a sequence of instance method definitions" } { "hash" hashtable } }
|
||||
{ $description "Defines a new Objective C class. The hashtable can contain the following keys:"
|
||||
{ $list
|
||||
{ { $link +name+ } " - a string naming the new class. Required." }
|
||||
|
|
|
@ -18,9 +18,10 @@ HELP: mailbox-put
|
|||
{ $description "Put the object into the mailbox. Any threads that have a blocking get on the mailbox are resumed. Only one of those threads will successfully get the object, the rest will immediately block waiting for the next item in the mailbox." } ;
|
||||
|
||||
HELP: block-unless-pred
|
||||
{ $values { "pred" { $quotation "( obj -- ? )" } }
|
||||
{ $values
|
||||
{ "mailbox" mailbox }
|
||||
{ "timeout" "a " { $link duration } " or " { $link f } }
|
||||
{ "pred" { $quotation "( obj -- ? )" } }
|
||||
}
|
||||
{ $description "Block the thread if there are no items in the mailbox that return true when the predicate is called with the item on the stack." } ;
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ USING: help.syntax help.markup delegate.private ;
|
|||
IN: delegate
|
||||
|
||||
HELP: define-protocol
|
||||
{ $values { "wordlist" "a sequence of words" } { "protocol" "a word for the new protocol" } }
|
||||
{ $values { "protocol" "a word for the new protocol" } { "wordlist" "a sequence of words" } }
|
||||
{ $description "Defines a symbol as a protocol." }
|
||||
{ $notes "Usually, " { $link POSTPONE: PROTOCOL: } " should be used instead. This is only for runtime use." } ;
|
||||
|
||||
|
|
|
@ -12,11 +12,11 @@ HELP: +line
|
|||
{ $description "Adds an integer to the line number of a line/column pair." } ;
|
||||
|
||||
HELP: =col
|
||||
{ $values { "loc" "a pair of integers" } { "n" integer } { "newloc" "a pair of integers" } }
|
||||
{ $values { "n" integer } { "loc" "a pair of integers" } { "newloc" "a pair of integers" } }
|
||||
{ $description "Sets the column number of a line/column pair." } ;
|
||||
|
||||
HELP: =line
|
||||
{ $values { "loc" "a pair of integers" } { "n" integer } { "newloc" "a pair of integers" } }
|
||||
{ $values { "n" integer } { "loc" "a pair of integers" } { "newloc" "a pair of integers" } }
|
||||
{ $description "Sets the line number of a line/column pair." } ;
|
||||
|
||||
HELP: lines-equal?
|
||||
|
|
|
@ -53,12 +53,12 @@ HELP: <max-heap>
|
|||
{ $description "Create a new " { $link max-heap } "." } ;
|
||||
|
||||
HELP: heap-push
|
||||
{ $values { "key" "a comparable object" } { "value" object } { "heap" "a heap" } }
|
||||
{ $values { "value" object } { "key" "a comparable object" } { "heap" "a heap" } }
|
||||
{ $description "Push a pair onto a heap. The key must be comparable with all other keys by the " { $link <=> } " generic word." }
|
||||
{ $side-effects "heap" } ;
|
||||
|
||||
HELP: heap-push*
|
||||
{ $values { "key" "a comparable object" } { "value" object } { "heap" "a heap" } { "entry" entry } }
|
||||
{ $values { "value" object } { "key" "a comparable object" } { "heap" "a heap" } { "entry" entry } }
|
||||
{ $description "Push a pair onto a heap, and output an entry which may later be passed to " { $link heap-delete } "." }
|
||||
{ $side-effects "heap" } ;
|
||||
|
||||
|
@ -68,7 +68,7 @@ HELP: heap-push-all
|
|||
{ $side-effects "heap" } ;
|
||||
|
||||
HELP: heap-peek
|
||||
{ $values { "heap" "a heap" } { "key" object } { "value" object } }
|
||||
{ $values { "heap" "a heap" } { "value" object } { "key" object } }
|
||||
{ $description "Output the first element in the heap, leaving it in the heap." } ;
|
||||
|
||||
HELP: heap-pop*
|
||||
|
@ -77,7 +77,7 @@ HELP: heap-pop*
|
|||
{ $side-effects "heap" } ;
|
||||
|
||||
HELP: heap-pop
|
||||
{ $values { "heap" "a heap" } { "key" object } { "value" object } }
|
||||
{ $values { "heap" "a heap" } { "value" object } { "key" object } }
|
||||
{ $description "Output and remove the first element in the heap." }
|
||||
{ $side-effects "heap" } ;
|
||||
|
||||
|
|
|
@ -122,7 +122,7 @@ HELP: uncons
|
|||
{ $description "Put the head and tail of the list on the stack." } ;
|
||||
|
||||
HELP: unswons
|
||||
{ $values { "cons" list } { "car" "the head of the list" } { "cdr" "the tail of the list" } }
|
||||
{ $values { "cons" list } { "cdr" "the tail of the list" } { "car" "the head of the list" } }
|
||||
{ $description "Put the head and tail of the list on the stack." } ;
|
||||
|
||||
{ leach foldl lmap>array } related-words
|
||||
|
|
|
@ -47,19 +47,19 @@ HELP: log-message
|
|||
{ $description "Sends a message to the current log if the level is more urgent than " { $link log-level } ". Does nothing if not executing in a dynamic scope established by " { $link with-logging } "." } ;
|
||||
|
||||
HELP: add-logging
|
||||
{ $values { "level" "a log level" } { "word" word } }
|
||||
{ $values { "word" word } { "level" "a log level" } }
|
||||
{ $description "Causes the word to log a message every time it is called." } ;
|
||||
|
||||
HELP: add-input-logging
|
||||
{ $values { "level" "a log level" } { "word" word } }
|
||||
{ $values { "word" word } { "level" "a log level" } }
|
||||
{ $description "Causes the word to log its input values every time it is called. The word must have a stack effect declaration." } ;
|
||||
|
||||
HELP: add-output-logging
|
||||
{ $values { "level" "a log level" } { "word" word } }
|
||||
{ $values { "word" word } { "level" "a log level" } }
|
||||
{ $description "Causes the word to log its output values every time it is called. The word must have a stack effect declaration." } ;
|
||||
|
||||
HELP: add-error-logging
|
||||
{ $values { "level" "a log level" } { "word" word } }
|
||||
{ $values { "word" word } { "level" "a log level" } }
|
||||
{ $description "Causes the word to log its input values and any errors it throws."
|
||||
$nl
|
||||
"If the word is not executed in a dynamic scope established by " { $link with-logging } ", its behavior is unchanged, and any errors it throws are passed to the caller."
|
||||
|
|
|
@ -239,7 +239,7 @@ HELP: cis
|
|||
{ cis exp } related-words
|
||||
|
||||
HELP: polar>
|
||||
{ $values { "z" number } { "abs" "a non-negative real number" } { "arg" real } }
|
||||
{ $values { "abs" "a non-negative real number" } { "arg" real } { "z" number } }
|
||||
{ $description "Converts an absolute value and argument (polar form) to a complex number." } ;
|
||||
|
||||
HELP: [-1,1]?
|
||||
|
|
|
@ -6,7 +6,7 @@ HELP: breakpoint
|
|||
{ $description "Annotates a word definition to enter the single stepper when executed." } ;
|
||||
|
||||
HELP: breakpoint-if
|
||||
{ $values { "quot" { $quotation "( -- ? )" } } { "word" word } }
|
||||
{ $values { "word" word } { "quot" { $quotation "( -- ? )" } } }
|
||||
{ $description "Annotates a word definition to enter the single stepper if the quotation yields true." } ;
|
||||
|
||||
HELP: B
|
||||
|
|
|
@ -3,7 +3,7 @@ kernel ;
|
|||
IN: ui.gadgets.menus
|
||||
|
||||
HELP: <commands-menu>
|
||||
{ $values { "target" object } { "commands" "a sequence of commands" } { "hook" { $quotation "( button -- )" } } { "menu" "a new " { $link gadget } } }
|
||||
{ $values { "target" object } { "hook" { $quotation "( button -- )" } } { "commands" "a sequence of commands" } { "menu" "a new " { $link gadget } } }
|
||||
{ $description "Creates a popup menu of commands which are to be invoked on " { $snippet "target" } ". The " { $snippet "hook" } " quotation is run before a command is invoked." } ;
|
||||
|
||||
HELP: show-menu
|
||||
|
|
|
@ -24,7 +24,7 @@ HELP: <scroller>
|
|||
{ <viewport> <scroller> } related-words
|
||||
|
||||
HELP: set-scroll-position
|
||||
{ $values { "scroller" scroller } { "value" "a pair of integers" } }
|
||||
{ $values { "value" "a pair of integers" } { "scroller" scroller } }
|
||||
{ $description "Sets the offset of the top-left corner of the scroller's " { $link viewport } "'s child." } ;
|
||||
|
||||
HELP: relative-scroll-rect
|
||||
|
|
|
@ -18,7 +18,7 @@ HELP: <track>
|
|||
{ $description "Creates a new track which lays out children along the given orientation, either " { $link horizontal } " or " { $link vertical } "." } ;
|
||||
|
||||
HELP: track-add
|
||||
{ $values { "gadget" gadget } { "track" track } { "constraint" "a number between 0 and 1, or " { $link f } } }
|
||||
{ $values { "track" track } { "gadget" gadget } { "constraint" "a number between 0 and 1, or " { $link f } } }
|
||||
{ $description "Adds a new child to a track. If the constraint is " { $link f } ", the child always occupies its preferred size. Otherwise, the constrant is a fraction of the total size which is allocated for the child." } ;
|
||||
|
||||
ABOUT: "ui-track-layout"
|
||||
|
|
|
@ -2,11 +2,11 @@ IN: ui.pens
|
|||
USING: help.markup help.syntax kernel ui.gadgets ;
|
||||
|
||||
HELP: draw-interior
|
||||
{ $values { "pen" object } { "gadget" gadget } }
|
||||
{ $values { "gadget" gadget } { "pen" object } }
|
||||
{ $contract "Draws the interior of a gadget by making OpenGL calls. The " { $snippet "interior" } " slot may be set to objects implementing this generic word." } ;
|
||||
|
||||
HELP: draw-boundary
|
||||
{ $values { "pen" object } { "gadget" gadget } }
|
||||
{ $values { "gadget" gadget } { "pen" object } }
|
||||
{ $contract "Draws the boundary of a gadget by making OpenGL calls. The " { $snippet "boundary" } " slot may be set to objects implementing this generic word." } ;
|
||||
|
||||
ARTICLE: "ui-pen-protocol" "UI pen protocol"
|
||||
|
@ -23,4 +23,4 @@ $nl
|
|||
{ $vocab-subsection "Polygon pens" "ui.pens.polygon" }
|
||||
{ $vocab-subsection "Solid pens" "ui.pens.solid" }
|
||||
{ $vocab-subsection "Tile pens" "ui.pens.tile" }
|
||||
"Custom implementations must follow the guidelines set forth in " { $link "ui-paint-custom" } "." ;
|
||||
"Custom implementations must follow the guidelines set forth in " { $link "ui-paint-custom" } "." ;
|
||||
|
|
|
@ -438,7 +438,7 @@ $nl
|
|||
{ $notes "This word is used behind the scenes to compile " { $link cond } " forms efficiently; it can also be called directly, which is useful for meta-programming." } ;
|
||||
|
||||
HELP: case>quot
|
||||
{ $values { "assoc" "a sequence of pairs of quotations" } { "default" quotation } { "quot" quotation } }
|
||||
{ $values { "default" quotation } { "assoc" "a sequence of pairs of quotations" } { "quot" quotation } }
|
||||
{ $description "Creates a quotation that when called, has the same effect as applying " { $link case } " to " { $snippet "assoc" } "."
|
||||
$nl
|
||||
"This word uses three strategies:"
|
||||
|
|
|
@ -122,7 +122,7 @@ HELP: continuation
|
|||
{ $description "Reifies the current continuation from the point immediately after which the caller returns." } ;
|
||||
|
||||
HELP: >continuation<
|
||||
{ $values { "continuation" continuation } { "data" vector } { "retain" vector } { "call" vector } { "name" vector } { "catch" vector } }
|
||||
{ $values { "continuation" continuation } { "data" vector } { "call" vector } { "retain" vector } { "name" vector } { "catch" vector } }
|
||||
{ $description "Takes a continuation apart into its constituents." } ;
|
||||
|
||||
HELP: ifcc
|
||||
|
@ -271,4 +271,4 @@ HELP: with-return
|
|||
HELP: restart
|
||||
{ $values { "restart" restart } }
|
||||
{ $description "Invokes a restart." }
|
||||
{ $class-description "The class of restarts." } ;
|
||||
{ $class-description "The class of restarts." } ;
|
||||
|
|
|
@ -124,7 +124,7 @@ HELP: make-generic
|
|||
$low-level-note ;
|
||||
|
||||
HELP: define-generic
|
||||
{ $values { "word" word } { "effect" effect } { "combination" "a method combination" } }
|
||||
{ $values { "word" word } { "combination" "a method combination" } { "effect" effect } }
|
||||
{ $description "Defines a generic word. A method combination is an object which responds to the " { $link perform-combination } " generic word." }
|
||||
{ $contract "The method combination quotation is called each time the generic word has to be updated (for example, when a method is added), and thus must be side-effect free." } ;
|
||||
|
||||
|
|
|
@ -27,8 +27,9 @@ HELP: <byte-writer>
|
|||
{ $description "Creates an output stream writing data to a byte array using an encoding." } ;
|
||||
|
||||
HELP: with-byte-reader
|
||||
{ $values { "encoding" "an encoding descriptor" }
|
||||
{ "quot" quotation } { "byte-array" byte-array } }
|
||||
{ $values { "byte-array" byte-array }
|
||||
{ "encoding" "an encoding descriptor" }
|
||||
{ "quot" quotation } }
|
||||
{ $description "Calls the quotation in a new dynamic scope with " { $link input-stream } " rebound to an input stream for reading from a byte array using an encoding." } ;
|
||||
|
||||
HELP: with-byte-writer
|
||||
|
|
|
@ -168,7 +168,7 @@ HELP: xor
|
|||
{ $notes "This word implements boolean exclusive or, so applying it to integers will not yield useful results (all integers have a true value). Bitwise exclusive or is the " { $link bitxor } " word." } ;
|
||||
|
||||
HELP: both?
|
||||
{ $values { "quot" { $quotation "( obj -- ? )" } } { "x" object } { "y" object } { "?" "a boolean" } }
|
||||
{ $values { "x" object } { "y" object } { "quot" { $quotation "( obj -- ? )" } } { "?" "a boolean" } }
|
||||
{ $description "Tests if the quotation yields a true value when applied to both " { $snippet "x" } " and " { $snippet "y" } "." }
|
||||
{ $examples
|
||||
{ $example "USING: kernel math prettyprint ;" "3 5 [ odd? ] both? ." "t" }
|
||||
|
@ -176,7 +176,7 @@ HELP: both?
|
|||
} ;
|
||||
|
||||
HELP: either?
|
||||
{ $values { "quot" { $quotation "( obj -- ? )" } } { "x" object } { "y" object } { "?" "a boolean" } }
|
||||
{ $values { "x" object } { "y" object } { "quot" { $quotation "( obj -- ? )" } } { "?" "a boolean" } }
|
||||
{ $description "Tests if the quotation yields a true value when applied to either " { $snippet "x" } " or " { $snippet "y" } "." }
|
||||
{ $examples
|
||||
{ $example "USING: kernel math prettyprint ;" "3 6 [ odd? ] either? ." "t" }
|
||||
|
@ -213,18 +213,18 @@ HELP: call-clear ( quot -- )
|
|||
{ $notes "Used to implement " { $link "threads" } "." } ;
|
||||
|
||||
HELP: keep
|
||||
{ $values { "quot" { $quotation "( x -- ... )" } } { "x" object } }
|
||||
{ $values { "x" object } { "quot" { $quotation "( x -- ... )" } } }
|
||||
{ $description "Call a quotation with a value on the stack, restoring the value when the quotation returns." }
|
||||
{ $examples
|
||||
{ $example "USING: arrays kernel prettyprint ;" "2 \"greetings\" [ <array> ] keep 2array ." "{ { \"greetings\" \"greetings\" } \"greetings\" }" }
|
||||
} ;
|
||||
|
||||
HELP: 2keep
|
||||
{ $values { "quot" { $quotation "( x y -- ... )" } } { "x" object } { "y" object } }
|
||||
{ $values { "x" object } { "y" object } { "quot" { $quotation "( x y -- ... )" } } }
|
||||
{ $description "Call a quotation with two values on the stack, restoring the values when the quotation returns." } ;
|
||||
|
||||
HELP: 3keep
|
||||
{ $values { "quot" { $quotation "( x y z -- ... )" } } { "x" object } { "y" object } { "z" object } }
|
||||
{ $values { "x" object } { "y" object } { "z" object } { "quot" { $quotation "( x y z -- ... )" } } }
|
||||
{ $description "Call a quotation with three values on the stack, restoring the values when the quotation returns." } ;
|
||||
|
||||
HELP: bi
|
||||
|
@ -664,7 +664,7 @@ HELP: getenv ( n -- obj )
|
|||
{ $description "Reads an object from the Factor VM's environment table. User code never has to read the environment table directly; instead, use one of the callers of this word." } ;
|
||||
|
||||
HELP: setenv ( obj n -- )
|
||||
{ $values { "n" "a non-negative integer" } { "obj" object } }
|
||||
{ $values { "obj" object } { "n" "a non-negative integer" } }
|
||||
{ $description "Writes an object to the Factor VM's environment table. User code never has to write to the environment table directly; instead, use one of the callers of this word." } ;
|
||||
|
||||
HELP: object
|
||||
|
|
|
@ -122,7 +122,7 @@ DEFER: if
|
|||
: 2bi@ ( w x y z quot -- )
|
||||
dup 2bi* ; inline
|
||||
|
||||
: 2tri@ ( u v w y x z quot -- )
|
||||
: 2tri@ ( u v w x y z quot -- )
|
||||
dup dup 2tri* ; inline
|
||||
|
||||
! Quotation building
|
||||
|
|
|
@ -188,7 +188,7 @@ HELP: parse-lines
|
|||
{ $errors "Throws a " { $link lexer-error } " if the input is malformed." } ;
|
||||
|
||||
HELP: parse-base
|
||||
{ $values { "base" "an integer between 2 and 36" } { "parsed" integer } }
|
||||
{ $values { "parsed" integer } { "base" "an integer between 2 and 36" } { "parsed" integer } }
|
||||
{ $description "Reads an integer in a specific numerical base from the parser input." }
|
||||
$parsing-note ;
|
||||
|
||||
|
|
|
@ -218,7 +218,7 @@ HELP: 3sequence
|
|||
{ $description "Creates a three-element sequence of the same type as " { $snippet "exemplar" } "." } ;
|
||||
|
||||
HELP: 4sequence
|
||||
{ $values { "obj1" object } { "obj2" object } { "exemplar" sequence } { "obj3" object } { "obj4" object } { "seq" sequence } }
|
||||
{ $values { "obj1" object } { "obj2" object } { "obj3" object } { "obj4" object } { "exemplar" sequence } { "seq" sequence } }
|
||||
{ $description "Creates a four-element sequence of the same type as " { $snippet "exemplar" } "." } ;
|
||||
|
||||
HELP: first2
|
||||
|
@ -277,7 +277,7 @@ HELP: reduce-index
|
|||
} } ;
|
||||
|
||||
HELP: accumulate-as
|
||||
{ $values { "identity" object } { "seq" sequence } { "quot" { $quotation "( prev elt -- next )" } } { "exemplar" sequence } { "final" "the final result" } { "newseq" "a new sequence" } }
|
||||
{ $values { "seq" sequence } { "identity" object } { "quot" { $quotation "( prev elt -- next )" } } { "exemplar" sequence } { "final" "the final result" } { "newseq" "a new sequence" } }
|
||||
{ $description "Combines successive elements of the sequence using a binary operation, and outputs a sequence of the same type as " { $snippet "exemplar" } " containing intermediate results, together with the final result."
|
||||
$nl
|
||||
"The first element of the new sequence is " { $snippet "identity" } ". Then, on the first iteration, the two inputs to the quotation are " { $snippet "identity" } ", and the first element of the old sequence. On successive iterations, the first input is the result of the previous iteration, and the second input is the corresponding element of the old sequence."
|
||||
|
@ -285,7 +285,7 @@ $nl
|
|||
"When given the empty sequence, outputs an empty sequence together with the " { $snippet "identity" } "." } ;
|
||||
|
||||
HELP: accumulate
|
||||
{ $values { "identity" object } { "seq" sequence } { "quot" { $quotation "( prev elt -- next )" } } { "final" "the final result" } { "newseq" "a new array" } }
|
||||
{ $values { "seq" sequence } { "identity" object } { "quot" { $quotation "( prev elt -- next )" } } { "final" "the final result" } { "newseq" "a new array" } }
|
||||
{ $description "Combines successive elements of the sequence using a binary operation, and outputs an array of intermediate results, together with the final result."
|
||||
$nl
|
||||
"The first element of the new sequence is " { $snippet "identity" } ". Then, on the first iteration, the two inputs to the quotation are " { $snippet "identity" } ", and the first element of the old sequence. On successive iterations, the first input is the result of the previous iteration, and the second input is the corresponding element of the old sequence."
|
||||
|
@ -300,7 +300,7 @@ HELP: map
|
|||
{ $description "Applies the quotation to each element of the sequence in order. The new elements are collected into a sequence of the same class as the input sequence." } ;
|
||||
|
||||
HELP: map-as
|
||||
{ $values { "seq" sequence } { "quot" { $quotation "( old -- new )" } } { "newseq" "a new sequence" } { "exemplar" sequence } }
|
||||
{ $values { "seq" sequence } { "quot" { $quotation "( old -- new )" } } { "exemplar" sequence } { "newseq" "a new sequence" } }
|
||||
{ $description "Applies the quotation to each element of the sequence in order. The new elements are collected into a sequence of the same class as " { $snippet "exemplar" } "." }
|
||||
{ $examples
|
||||
"The following example converts a string into an array of one-element strings:"
|
||||
|
@ -483,7 +483,7 @@ HELP: remove-nth
|
|||
} } ;
|
||||
|
||||
HELP: move
|
||||
{ $values { "from" "an index in " { $snippet "seq" } } { "to" "an index in " { $snippet "seq" } } { "seq" "a mutable sequence" } }
|
||||
{ $values { "to" "an index in " { $snippet "seq" } } { "from" "an index in " { $snippet "seq" } } { "seq" "a mutable sequence" } }
|
||||
{ $description "Sets the element with index " { $snippet "m" } " to the element with index " { $snippet "n" } "." }
|
||||
{ $side-effects "seq" } ;
|
||||
|
||||
|
@ -510,7 +510,7 @@ HELP: delete-slice
|
|||
{ $side-effects "seq" } ;
|
||||
|
||||
HELP: replace-slice
|
||||
{ $values { "new" sequence } { "seq" sequence } { "from" "a non-negative integer" } { "to" "a non-negative integer" } { "seq'" sequence } }
|
||||
{ $values { "new" sequence } { "from" "a non-negative integer" } { "to" "a non-negative integer" } { "seq" sequence } { "seq'" sequence } }
|
||||
{ $description "Replaces a range of elements beginning at index " { $snippet "from" } " and ending before index " { $snippet "to" } " with a new sequence." }
|
||||
{ $errors "Throws an error if " { $snippet "new" } " contains elements whose types are not permissible in " { $snippet "seq" } "." } ;
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ HELP: source-file
|
|||
} ;
|
||||
|
||||
HELP: record-checksum
|
||||
{ $values { "source-file" source-file } { "lines" "a sequence of strings" } }
|
||||
{ $values { "lines" "a sequence of strings" } { "source-file" source-file } }
|
||||
{ $description "Records the CRC32 checksm of the source file's contents." }
|
||||
$low-level-note ;
|
||||
|
||||
|
|
Loading…
Reference in New Issue