]> gitweb.factorcode.org Git - factor.git/commitdiff
factor: clean up whitespace in -docs files
authorDoug Coleman <doug.coleman@gmail.com>
Thu, 2 Jul 2015 17:31:22 +0000 (10:31 -0700)
committerDoug Coleman <doug.coleman@gmail.com>
Thu, 2 Jul 2015 17:31:22 +0000 (10:31 -0700)
154 files changed:
basis/alien/destructors/destructors-docs.factor
basis/bit-arrays/bit-arrays-docs.factor
basis/bit-vectors/bit-vectors-docs.factor
basis/bitstreams/bitstreams-docs.factor
basis/channels/channels-docs.factor
basis/channels/remote/remote-docs.factor
basis/classes/struct/struct-docs.factor
basis/cocoa/cocoa-docs.factor
basis/cocoa/nibs/nibs-docs.factor
basis/colors/constants/constants-docs.factor
basis/colors/gray/gray-docs.factor
basis/colors/hsv/hsv-docs.factor
basis/concurrency/count-downs/count-downs-docs.factor
basis/core-foundation/arrays/arrays-docs.factor
basis/core-foundation/bundles/bundles-docs.factor
basis/definitions/icons/icons-docs.factor
basis/delegate/delegate-docs.factor
basis/fry/fry-docs.factor
basis/furnace/actions/actions-docs.factor
basis/generalizations/generalizations-docs.factor
basis/graphs/graphs-docs.factor
basis/help/apropos/apropos-docs.factor
basis/help/vocabs/vocabs-docs.factor
basis/html/templates/chloe/chloe-docs.factor
basis/http/server/rewrite/rewrite-docs.factor
basis/inspector/inspector-docs.factor
basis/io/directories/hierarchy/hierarchy-docs.factor
basis/io/encodings/8-bit/arabic/arabic-docs.factor
basis/io/encodings/8-bit/cyrillic/cyrillic-docs.factor
basis/io/encodings/8-bit/ebcdic/ebcdic-docs.factor
basis/io/encodings/8-bit/greek/greek-docs.factor
basis/io/encodings/8-bit/koi8-r/koi8-r-docs.factor
basis/io/encodings/8-bit/latin1/latin1-docs.factor
basis/io/encodings/8-bit/latin10/latin10-docs.factor
basis/io/encodings/8-bit/latin2/latin2-docs.factor
basis/io/encodings/8-bit/latin3/latin3-docs.factor
basis/io/encodings/8-bit/latin4/latin4-docs.factor
basis/io/encodings/8-bit/latin5/latin5-docs.factor
basis/io/encodings/8-bit/latin6/latin6-docs.factor
basis/io/encodings/8-bit/latin7/latin7-docs.factor
basis/io/encodings/8-bit/latin8/latin8-docs.factor
basis/io/encodings/8-bit/mac-roman/mac-roman-docs.factor
basis/io/encodings/8-bit/thai/thai-docs.factor
basis/io/encodings/8-bit/windows-1252/windows-1252-docs.factor
basis/io/encodings/binary/binary-docs.factor
basis/io/encodings/euc-kr/euc-kr-docs.factor
basis/io/encodings/iana/iana-docs.factor
basis/io/encodings/johab/johab-docs.factor
basis/io/encodings/string/string-docs.factor
basis/io/encodings/utf32/utf32-docs.factor
basis/io/ports/ports-docs.factor
basis/io/sockets/icmp/icmp-docs.factor
basis/io/streams/null/null-docs.factor
basis/io/streams/throwing/throwing-docs.factor
basis/json/writer/writer-docs.factor
basis/linked-assocs/linked-assocs-docs.factor
basis/match/match-docs.factor
basis/math/quaternions/quaternions-docs.factor
basis/math/ranges/ranges-docs.factor
basis/math/ratios/ratios-docs.factor
basis/math/statistics/statistics-docs.factor
basis/mime/types/types-docs.factor
basis/mirrors/mirrors-docs.factor
basis/models/models-docs.factor
basis/models/range/range-docs.factor
basis/opengl/annotations/annotations-docs.factor
basis/opengl/gl/gl-docs.factor
basis/opengl/shaders/shaders-docs.factor
basis/opengl/textures/textures-docs.factor
basis/peg/parsers/parsers-docs.factor
basis/peg/search/search-docs.factor
basis/promises/promises-docs.factor
basis/random/random-docs.factor
basis/refs/refs-docs.factor
basis/roman/roman-docs.factor
basis/serialize/serialize-docs.factor
basis/specialized-vectors/specialized-vectors-docs.factor
basis/tools/continuations/continuations-docs.factor
basis/tools/coverage/coverage-docs.factor
basis/tools/coverage/testvocab/testvocab-docs.factor
basis/tools/errors/errors-docs.factor
basis/tuple-arrays/tuple-arrays-docs.factor
basis/ui/commands/commands-docs.factor
basis/ui/gadgets/grid-lines/grid-lines-docs.factor
basis/ui/gadgets/line-support/line-support-docs.factor
basis/ui/gadgets/presentations/presentations-docs.factor
basis/ui/gadgets/tables/tables-docs.factor
basis/ui/gadgets/worlds/worlds-docs.factor
basis/ui/pens/pens-docs.factor
basis/ui/render/render-docs.factor
basis/ui/text/text-docs.factor
basis/ui/tools/browser/browser-docs.factor
basis/unix/groups/groups-docs.factor
basis/uuid/uuid-docs.factor
basis/validators/validators-docs.factor
basis/wrap/strings/strings-docs.factor
basis/wrap/wrap-docs.factor
basis/xml/entities/entities-docs.factor
basis/xml/syntax/syntax-docs.factor
core/byte-vectors/byte-vectors-docs.factor
core/checksums/checksums-docs.factor
core/classes/builtin/builtin-docs.factor
core/effects/parser/parser-docs.factor
core/generic/hook/hook-docs.factor
core/io/streams/c/c-docs.factor
core/math/math-docs.factor
core/namespaces/namespaces-docs.factor
core/parser/notes/notes-docs.factor
extra/alien/fortran/fortran-docs.factor
extra/audio/audio-docs.factor
extra/audio/engine/engine-docs.factor
extra/balloon-bomber/balloon-bomber-docs.factor
extra/bitcoin/client/client-docs.factor
extra/brainfuck/brainfuck-docs.factor
extra/combinators/extras/extras-docs.factor
extra/cpu/8080/8080-docs.factor
extra/cpu/8080/emulator/emulator-docs.factor
extra/fonts/syntax/syntax-docs.factor
extra/game/models/obj/obj-docs.factor
extra/game/worlds/worlds-docs.factor
extra/gpu/buffers/buffers-docs.factor
extra/gpu/framebuffers/framebuffers-docs.factor
extra/gpu/render/render-docs.factor
extra/gpu/shaders/shaders-docs.factor
extra/gpu/state/state-docs.factor
extra/gpu/textures/textures-docs.factor
extra/graphviz/dot/dot-docs.factor
extra/id3/id3-docs.factor
extra/ini-file/ini-file-docs.factor
extra/lunar-rescue/lunar-rescue-docs.factor
extra/math/analysis/analysis-docs.factor
extra/math/binpack/binpack-docs.factor
extra/math/blas/matrices/matrices-docs.factor
extra/math/blas/vectors/vectors-docs.factor
extra/math/derivatives/syntax/syntax-docs.factor
extra/math/dual/dual-docs.factor
extra/math/finance/finance-docs.factor
extra/math/transforms/haar/haar-docs.factor
extra/memcached/memcached-docs.factor
extra/method-chains/method-chains-docs.factor
extra/mongodb/driver/driver-docs.factor
extra/mongodb/mongodb-docs.factor
extra/ntp/ntp-docs.factor
extra/opencl/opencl-docs.factor
extra/pair-rocket/pair-rocket-docs.factor
extra/parser-combinators/simple/simple-docs.factor
extra/pop3/pop3-docs.factor
extra/progress-bars/models/models-docs.factor
extra/roles/roles-docs.factor
extra/s3/s3-docs.factor
extra/space-invaders/space-invaders-docs.factor
extra/trees/avl/avl-docs.factor
extra/trees/splay/splay-docs.factor
extra/wordtimer/wordtimer-docs.factor

index fcc56abe4303ee41b54e71c6d6249aaa60379720..82755c15dd89a478a859d657afb4675e608bf2e4 100644 (file)
@@ -27,4 +27,4 @@ ARTICLE: "alien.destructors" "Alien destructors"
 "The " { $vocab-link "alien.destructors" } " vocabulary defines a utility parsing word for defining new disposable classes."
 { $subsections POSTPONE: DESTRUCTOR: } ;
 
-ABOUT: "alien.destructors"
\ No newline at end of file
+ABOUT: "alien.destructors"
index 899cfebcafb1afc0b95dd36dedce460a0f38c299..304a33d5a83ac4696967c6e1459c280869cb7551 100644 (file)
@@ -36,7 +36,7 @@ ABOUT: "bit-arrays"
 HELP: ?{
 { $syntax "?{ elements... }" }
 { $values { "elements" "a list of booleans" } }
-{ $description "Marks the beginning of a literal bit array. Literal bit arrays are terminated by " { $link POSTPONE: } } "." } 
+{ $description "Marks the beginning of a literal bit array. Literal bit arrays are terminated by " { $link POSTPONE: } } "." }
 { $examples { $code "?{ t f t }" } } ;
 
 HELP: bit-array
index 88ddb0c2a1ac3b94a3d8047244f38a50a4b3bce4..6cea3a00ddbd6616bdc936606897bdbb3eaa2776 100644 (file)
@@ -35,6 +35,5 @@ HELP: >bit-vector
 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: } } "." } 
+{ $description "Marks the beginning of a literal bit vector. Literal bit vectors are terminated by " { $link POSTPONE: } } "." }
 { $examples { $code "?V{ t f t }" } } ;
-
index 7963e829be1127b9de15d6cc3ba80ce9eb1683f9..7be55142758d89a982cc0570011a744347af6759 100644 (file)
@@ -39,4 +39,3 @@ HELP: set-abp
 HELP: get-abp
 { $values { "bitstream" bit-reader } { "abp" integer } }
 { $description "Returns the current position of the bit-reader's read cursor as a number of bits from the start of the stream. The position of the cursor in terms of bytes and bits can be read directly from the bit-reader tuple using " { $link byte-pos>> } " and " { $link bit-pos>> } "." } ;
-
index 931d4241954e0ec8f830528dc5f63fc486f79e79..125913ad6efc4a0178a0e2643ad7b40625881c9c 100644 (file)
@@ -30,7 +30,7 @@ HELP: from
            { "value" object }
 }
 { $description "Receives an object from a channel. The operation is synchronous."
-" It will block the calling thread until there is data in the channel." 
+" It will block the calling thread until there is data in the channel."
 }
 { $see-also <channel> to } ;
 
index bbecb361ea077e62aa694a008dc8f1dca5199bed..e07dbe7b3d54430a6f6059d4d0c7470dd1dbc812 100644 (file)
@@ -6,7 +6,7 @@ IN: channels.remote
 
 HELP: <remote-channel>
 { $values { "node" "a node object" }
-          { "id" "the id of the published channel on the node" } 
+          { "id" "the id of the published channel on the node" }
           { "remote-channel" remote-channel }
 }
 { $description "Create a remote channel that acts as a proxy for a "
@@ -14,7 +14,7 @@ HELP: <remote-channel>
 "published using " { $link publish } " and the id should be the id "
 "returned by " { $link publish }
 }
-{ $examples 
+{ $examples
   { $code "\"localhost\" 9000 <node> \"ID123456\" <remote-channel> \"foo\" over to" }
 }
 { $see-also publish unpublish } ;
@@ -25,7 +25,7 @@ HELP: unpublish
 { $description "Stop a previously published channel from being "
 "accessible by remote nodes."
 }
-{ $examples 
+{ $examples
   { $code "<channel> publish unpublish" }
 }
 { $see-also <remote-channel> publish } ;
@@ -35,10 +35,10 @@ HELP: publish
           { "id" string }
 }
 { $description "Make a channel accessible via remote Factor nodes. "
-"An id is returned that can be used by another node to use " 
+"An id is returned that can be used by another node to use "
 { $link to } " and " { $link from } " to access the channel."
 }
-{ $examples 
+{ $examples
   { $code "<channel> publish" }
 }
 { $see-also <remote-channel> unpublish } ;
@@ -48,7 +48,7 @@ ARTICLE: { "remote-channels" "remote-channels" } "Remote Channels"
 $nl
 "To start a remote node, distributed concurrency must have been started. This can be done using " { $link start-server } "."
 $nl
-{ $snippet "\"myhost.com\" 9001 start-server" } 
+{ $snippet "\"myhost.com\" 9001 start-server" }
 $nl
 "Once the node is started, channels can be published using " { $link publish }
 " to be accessed remotely. " { $link publish } " returns an id which a remote node "
@@ -58,7 +58,7 @@ $nl
 $nl
 "Given the id from the snippet above, a remote node can put items in the channel (where 123456 is the id):"
 $nl
-{ $snippet "\"myhost.com\" 9001 <node> 123456 <remote-channel>\n\"hello\" over to" } 
+{ $snippet "\"myhost.com\" 9001 <node> 123456 <remote-channel>\n\"hello\" over to" }
 ;
 
 ABOUT: { "remote-channels" "remote-channels" }
index 2457e86a1aa2282b26c331e44396cc19b944a214..e116bc30fbaa284d1443774fffc7dff5aea2eeea 100644 (file)
@@ -33,7 +33,7 @@ HELP: STRUCT:
 { $description "Defines a new " { $link struct } " type. The syntax is nearly identical to " { $link POSTPONE: TUPLE: } "; however, there are some additional restrictions on struct types:"
 { $list
 { "Struct classes cannot have a superclass defined." }
-{ "The slots of a struct must all have a type declared. The type must be a C type." } 
+{ "The slots of a struct must all have a type declared. The type must be a C type." }
 { { $link read-only } " slots on structs are not enforced, though they may be declared." }
 }
 "Additionally, structs may use bit fields. A slot specifier may use the syntax " { $snippet "bits: n" } " to specify that the bit width of the slot is " { $snippet "n" } ". Bit width may be specified on signed or unsigned integer slots. The layout of bit fields is not guaranteed to match that of any particular C compiler." } ;
index d0043f55cfea2ea8057282762f3147d267a2920f..a458d3c63322b4fcb864e8736b848846b05d1b0f 100644 (file)
@@ -18,7 +18,7 @@ HELP: SUPER->
 
 HELP: IMPORT:
 { $syntax "IMPORT: name" }
-{ $description "Makes an Objective C class available for use." } 
+{ $description "Makes an Objective C class available for use." }
 { $examples
     { $code "IMPORT: QTMovie" "QTMovie \"My Movie.mov\" <NSString> f -> movieWithFile:error:" }
 } ;
index b1c3f2a04e7f907df5d056062f35b1d4292bd435..a238d35ae7d2bdfb472bc176af1aaf03aa2a6288 100644 (file)
@@ -7,10 +7,10 @@ HELP: load-nib
 
 HELP: nib-named
 { $values { "nib-name" string } { "anNSNib" "an instance of NSNib" } }
-{ $description "Looks up the " { $snippet ".nib" } " in the main bundle with the given name, instantiating an autoreleased NSNib object.  Useful when combined with the " { $link nib-objects } " word. " { $snippet "f" } " is returned in case of error." } 
+{ $description "Looks up the " { $snippet ".nib" } " in the main bundle with the given name, instantiating an autoreleased NSNib object.  Useful when combined with the " { $link nib-objects } " word. " { $snippet "f" } " is returned in case of error." }
 { $see-also nib-objects } ;
 
 HELP: nib-objects
 { $values { "anNSNib" "an instance of NSNib" } { "objects/f" { $maybe sequence } } }
-{ $description "Instantiates the top-level objects of the " { $snippet ".nib" } " file loaded by anNSNib.  First create an NSNib instance using " { $link nib-named } "." } 
+{ $description "Instantiates the top-level objects of the " { $snippet ".nib" } " file loaded by anNSNib.  First create an NSNib instance using " { $link nib-named } "." }
 { $see-also nib-named } ;
index 650fb88ae2b332665b720d77f8586018483f10af..2bbc1363146f559f5708c2bd966fff05576a9924 100644 (file)
@@ -30,4 +30,4 @@ ARTICLE: "colors.constants" "Standard color database"
     POSTPONE: COLOR:
 } ;
 
-ABOUT: "colors.constants" 
\ No newline at end of file
+ABOUT: "colors.constants"
index 4f911f833744b0cec657a43b4c4f01d22d57e1a4..076bdb6671dab64909bbf1ff3a323c97f52a2d39 100644 (file)
@@ -8,4 +8,4 @@ ARTICLE: "colors.gray" "Grayscale colors"
     <gray>
 } ;
 
-ABOUT: "colors.gray"
\ No newline at end of file
+ABOUT: "colors.gray"
index a4c037d36a627b77c323dc5b313ad750c9cf739a..47dda62fa811f7c4a27aa9eb25112c1567885a3b 100644 (file)
@@ -12,4 +12,4 @@ ARTICLE: "colors.hsv" "HSV colors"
 }
 { $see-also "colors" } ;
 
-ABOUT: "colors.hsv"
\ No newline at end of file
+ABOUT: "colors.hsv"
index 8d9a64f59d6ab74f817a242c28e8ec062fc6ae6a..9acb8ad86932dfc92a72a4779fc2ace062cc1ab2 100644 (file)
@@ -3,7 +3,7 @@ IN: concurrency.count-downs
 
 HELP: <count-down>
 { $values { "n" "a non-negative integer" } { "count-down" count-down } }
-{ $description "Creates a new count-down latch." } 
+{ $description "Creates a new count-down latch." }
 { $errors "Throws an error if the count is lower than zero." } ;
 
 HELP: count-down
index 36d14a8660a8ec168f85be385aaba96655f2b1d9..ae3622cfdb8f6d4f80524e1188225544f9ca1018 100644 (file)
@@ -8,4 +8,3 @@ HELP: CF>array
 HELP: <CFArray>
 { $values { "seq" "a sequence of " { $link alien } " instances" } { "alien" "a " { $snippet "CFArray" } } }
 { $description "Creates a Core Foundation array from a Factor array." } ;
-
index baa1b4d5df143a0cce08da40f516fceb64533a87..72b4da0b5e392dd41161d13d48ad866d82012878 100644 (file)
@@ -8,4 +8,3 @@ HELP: <CFBundle>
 HELP: load-framework
 { $values { "name" "a pathname string" } }
 { $description "Loads a Core Foundation framework." } ;
-
index 7493d4c05a9d493d92866557140c342d2625727b..a4aec7f5b5a6f293dc317b9d037497d3bffb2f00 100644 (file)
@@ -9,4 +9,4 @@ ARTICLE: "definitions.icons" "Definition icons"
 "Defining new icons:"
 { $subsections POSTPONE: ICON: } ;
 
-ABOUT: "definitions.icons"
\ No newline at end of file
+ABOUT: "definitions.icons"
index 30151bd634c69a3a4de0cf33b118ba9aa6d003a6..634683f526abddf802a1b02da63d742fcbf3b739 100644 (file)
@@ -19,13 +19,13 @@ HELP: define-consult
 
 HELP: CONSULT:
 { $syntax """CONSULT: group class
-    code ;""" } 
+    code ;""" }
 { $values { "group" "a protocol, generic word or tuple class" } { "class" "a class" } { "code" "code to get the object to which the method should be forwarded" } }
 { $description "Declares that objects of " { $snippet "class" } " will delegate the generic words contained in " { $snippet "group" } " to the object returned by executing " { $snippet "code" } " with the original object as an input." { $snippet "CONSULT:" } " will overwrite any existing methods on " { $snippet "class" } " for the members of " { $snippet "group" } ", but new methods can be added after the " { $snippet "CONSULT:" } " to override the delegation." } ;
 
 HELP: BROADCAST:
 { $syntax """BROADCAST: group class
-    code ;""" } 
+    code ;""" }
 { $values { "group" "a protocol, generic word or tuple class" } { "class" "a class" } { "code" "code to get the object to which the method should be forwarded" } }
 { $description "Declares that objects of " { $snippet "class" } " will delegate the generic words contained in " { $snippet "group" } " to every object in the sequence returned by executing " { $snippet "code" } " with the original object as an input." { $snippet "BROADCAST:" } " will overwrite any existing methods on " { $snippet "class" } " for the members of " { $snippet "group" } ", but new methods can be added after the " { $snippet "BROADCAST:" } " to override the delegation. Every generic word in " { $snippet "group" } " must return no outputs; otherwise, a " { $link broadcast-words-must-have-no-outputs } " error will be raised." } ;
 
index eb33f7cd32a4178c5ad4c2f36232e5cbf5446830..db1681dae07a697b71381bfb32fbedb593e707e5 100644 (file)
@@ -31,19 +31,19 @@ $nl
 "If a quotation does not contain any fry specifiers, then " { $link POSTPONE: '[ } " behaves just like " { $link POSTPONE: [ } ":"
 { $code "{ 10 20 30 } '[ . ] each" }
 "Occurrences of " { $link _ } " on the left map directly to " { $link curry } ". That is, the following three lines are equivalent:"
-{ $code 
+{ $code
     "{ 10 20 30 } 5 '[ _ + ] map"
     "{ 10 20 30 } 5 [ + ] curry map"
     "{ 10 20 30 } [ 5 + ] map"
 }
 "Occurrences of " { $link _ } " in the middle of a quotation map to more complex quotation composition patterns. The following three lines are equivalent:"
-{ $code 
+{ $code
     "{ 10 20 30 } 5 '[ 3 _ / ] map"
     "{ 10 20 30 } 5 [ 3 ] swap [ / ] curry compose map"
     "{ 10 20 30 } [ 3 5 / ] map"
 }
 "Occurrences of " { $link @ } " are simply syntax sugar for " { $snippet "_ call" } ". The following four lines are equivalent:"
-{ $code 
+{ $code
     "{ 10 20 30 } [ sq ] '[ @ . ] each"
     "{ 10 20 30 } [ sq ] [ call . ] curry each"
     "{ 10 20 30 } [ sq ] [ . ] compose each"
index 76f2ec036a2d3f9592f53b4e058c4811a8218507..ad90dd75688abf6951c88c79f29f78ce9706355e 100644 (file)
@@ -63,7 +63,7 @@ HELP: validate-params
 } ;
 
 { validate-params validate-values } related-words
-      
+
 HELP: validation-failed
 { $description "Stops processing the current request and takes action depending on the type of the current request:"
     { $list
@@ -107,7 +107,7 @@ ARTICLE: "furnace.actions.validation" "Form validation with actions"
 $nl
 "A word to validate parameters and make them available as HTML form values (see " { $link "html.forms.values" } "); typically this word is invoked from the " { $slot "init" } " and " { $slot "validate" } " quotations:"
 { $subsections validate-params }
-"The above word expects an association list mapping parameter names to validator quotations; validator quotations can use the words in the " 
+"The above word expects an association list mapping parameter names to validator quotations; validator quotations can use the words in the "
 "Custom validation logic can invoke a word when validation fails; " { $link validate-params } " invokes this word for you:"
 { $subsections validation-failed }
 "If validation fails, no more action code is executed, and the client is redirected back to the originating page, where validation errors can be displayed. Note that validation errors are rendered automatically by the " { $link "html.components" } " words, and in particular, " { $link "html.templates.chloe" } " use these words." ;
index f774f1c96a7c2a08df72562211eba848e3407134..65000d7cc96fb926462889ad10cff9858cffd6ff 100644 (file)
@@ -118,11 +118,11 @@ HELP: -nrot
 
 HELP: ndip
 { $values { "n" integer } }
-{ $description "A generalization of " { $link dip } " that can work " 
+{ $description "A generalization of " { $link dip } " that can work "
 "for any stack depth. The quotation will be called with a stack that "
 "has 'n' items removed first. The 'n' items are then put back on the "
 "stack. The quotation can consume and produce any number of items."
-} 
+}
 { $examples
   { $example "USING: arrays generalizations kernel prettyprint ;" "1 2 [ dup ] 1 ndip 3array ." "{ 1 1 2 }" }
   { $example "USING: arrays generalizations kernel prettyprint ;" "1 2 3 [ drop ] 2 ndip 2array ." "{ 2 3 }" }
@@ -136,10 +136,10 @@ HELP: ndip
 
 HELP: nkeep
 { $values { "n" integer } }
-{ $description "A generalization of " { $link keep } " that can work " 
+{ $description "A generalization of " { $link keep } " that can work "
 "for any stack depth. The first " { $snippet "n" } " items after the quotation will be "
 "saved, the quotation called, and the items restored."
-} 
+}
 { $examples
   { $example
       "USING: generalizations kernel prettyprint"
@@ -159,7 +159,7 @@ HELP: nkeep
 HELP: ncurry
 { $values { "n" integer } }
 { $description "A generalization of " { $link curry } " that can work for any stack depth."
-} 
+}
 { $examples
   "Some core words expressed in terms of " { $link ncurry } ":"
     { $table
@@ -172,7 +172,7 @@ HELP: ncurry
 HELP: nwith
 { $values { "n" integer } }
 { $description "A generalization of " { $link with } " that can work for any stack depth."
-} 
+}
 { $examples
   "Some core words expressed in terms of " { $link nwith } ":"
     { $table
@@ -183,7 +183,7 @@ HELP: nwith
 HELP: napply
 { $values { "quot" quotation } { "n" integer } }
 { $description "A generalization of " { $link bi@ } " and " { $link tri@ } " that can work for any stack depth."
-} 
+}
 { $examples
   "Some core words expressed in terms of " { $link napply } ":"
     { $table
@@ -196,7 +196,7 @@ HELP: napply
 HELP: ncleave
 { $values { "quots" "a sequence of quotations" } { "n" integer } }
 { $description "A generalization of " { $link cleave } " and " { $link 2cleave } " that can work for any quotation arity."
-} 
+}
 { $examples
   "Some core words expressed in terms of " { $link ncleave } ":"
     { $table
index 45f7f81ae77192a86a5a67d83a3a34183b4202d1..4aa42c6d11199d665f359307505a8adfd3bf985f 100644 (file)
@@ -23,7 +23,7 @@ HELP: add-vertex
 
 HELP: remove-vertex
 { $values { "vertex" object } { "edges" sequence } { "graph" "an assoc mapping vertices to sequences of edges" } }
-{ $description "Removes a vertex from a graph, using the given edges sequence." } 
+{ $description "Removes a vertex from a graph, using the given edges sequence." }
 { $notes "The " { $snippet "edges" } " sequence must equal the value passed to " { $link add-vertex } ", otherwise some vertices of the graph may continue to refer to the removed vertex." }
 { $side-effects "graph" } ;
 
index 4d774a75cb6c93db869c293bac9c70eae5f2a0ee..5d78e75e5ab2ae53b253bf2f37943b15f69543aa 100644 (file)
@@ -5,4 +5,4 @@ HELP: apropos
 { $values { "str" string } }
 { $description "Lists all words, vocabularies and help articles whose name contains a subsequence equal to " { $snippet "str" } ". Results are ranked using a simple distance algorithm." } ;
 
-TIP: "Use " { $link apropos } " to search for words, vocabularies and help articles." ;
\ No newline at end of file
+TIP: "Use " { $link apropos } " to search for words, vocabularies and help articles." ;
index bc495586f54ecc6184bb69dd511533b7646e310f..91a3efd8b090c8e0b2caf22c1f4630c0f66c4abb 100644 (file)
@@ -37,4 +37,4 @@ ARTICLE: "browsing-help" "Browsing documentation"
   { $code "\"evaluator\" help" }
   { $code "\\ + help" }
   { $code "\"io.files\" about" }
-} ;
\ No newline at end of file
+} ;
index 8ec925fc7de32ee54f9606c242aa6c9d5e542f89..0ad6ff7fd6c620d990517b73c6ed0a39807711c8 100644 (file)
@@ -77,7 +77,7 @@ ARTICLE: "html.templates.chloe.tags.component" "Component Chloe tags"
     { { $snippet "t:link" }       { $link link } }
     { { $snippet "t:password" }   { $link password } }
     { { $snippet "t:textarea" }   { $link textarea } }
-} ;                                       
+} ;
 
 ARTICLE: "html.templates.chloe.tags.boilerplate" "Boilerplate Chloe tags"
 "The following Chloe tags interface with the HTML templating " { $link "html.templates.boilerplate" } "."
index 2834e17d5018f6044b84343cf13d06db8834591c..501d90848af0f8ef441df31f7cf1c85f8a35c589 100644 (file)
@@ -73,4 +73,4 @@ ARTICLE: "http.server.rewrite" "URL rewrite responders"
     <vhost-rewrite>
 } ;
 
-ABOUT: "http.server.rewrite"
\ No newline at end of file
+ABOUT: "http.server.rewrite"
index c3e9482020e0780748d5ecac4224aa46f1d74429..4ed5fdf5c986dc4bc34febac12b5c7f49cd3cf0a 100644 (file)
@@ -35,7 +35,7 @@ HELP: inspector-stack
 { $var-description "If the inspector is running, this variable holds previously-inspected objects." } ;
 
 HELP: &push
-{ $values { "obj" object } } 
+{ $values { "obj" object } }
 { $description "If the inspector is running, outputs the object currently being inspected." } ;
 
 HELP: inspector
index 232cad1291bac1c9d54b93936720b6e4fcef21fd..cbe3260a2c830701e9d169f8a5d3e2630885d8e8 100644 (file)
@@ -12,7 +12,7 @@ HELP: with-directory-tree-files
 HELP: delete-tree
 { $values { "path" "a pathname string" } }
 { $description "Deletes a file or directory, recursing into subdirectories." }
-{ $errors "Throws an error if the deletion fails." } 
+{ $errors "Throws an error if the deletion fails." }
 { $warning "Misuse of this word can lead to catastrophic data loss." } ;
 
 HELP: copy-tree
index 5c8632612130c6feefa47bcd7ac6536bb275cf3a..fe6374cbf4cc33efe9e64510fc2d33172506886c 100644 (file)
@@ -4,7 +4,7 @@ USING: help.markup help.syntax ;
 IN: io.encodings.8-bit.arabic
 
 HELP: latin/arabic
-{ $var-description "This is the ISO-8859-6 encoding, also called Latin/Arabic. It is an 8-bit superset of ASCII and provides the characters necessary for Arabic, though not other languages which use Arabic script." } 
+{ $var-description "This is the ISO-8859-6 encoding, also called Latin/Arabic. It is an 8-bit superset of ASCII and provides the characters necessary for Arabic, though not other languages which use Arabic script." }
 { $see-also "encodings-introduction" } ;
 
 ARTICLE: "io.encodings.8-bit.arabic" "Arabic encoding"
index 741f1de1f629048f2ec8cd5c615c67804bbd4109..6524faaab05b1e2ea179c115f7ad9920b65706f7 100644 (file)
@@ -4,7 +4,7 @@ USING: help.markup help.syntax ;
 IN: io.encodings.8-bit.cyrillic
 
 HELP: latin/cyrillic
-{ $var-description "This is the ISO-8859-5 encoding, also called Latin/Cyrillic. It is an 8-bit superset of ASCII and provides the characters necessary for most languages which use Cyrilic, including Russian, Macedonian, Belarusian, Bulgarian, Serbian, and Ukrainian. KOI8-R is used much more commonly." } 
+{ $var-description "This is the ISO-8859-5 encoding, also called Latin/Cyrillic. It is an 8-bit superset of ASCII and provides the characters necessary for most languages which use Cyrilic, including Russian, Macedonian, Belarusian, Bulgarian, Serbian, and Ukrainian. KOI8-R is used much more commonly." }
 { $see-also "encodings-introduction" } ;
 
 ARTICLE: "io.encodings.8-bit.cyrillic" "Cyrillic encoding"
index 09646fddc3e0dad4fa1fb9a49267f10160895aa6..d2dd10165005dca3cbf3c658c5254abf0b9771c2 100644 (file)
@@ -4,7 +4,7 @@ USING: help.markup help.syntax ;
 IN: io.encodings.8-bit.ebcdic
 
 HELP: ebcdic
-{ $var-description "EBCDIC is an 8-bit legacy encoding designed for IBM mainframes like System/360 in the 1960s. It has since fallen into disuse. It contains large unallocated regions, and the version included here (code page 37) contains auxiliary characters in this region for English- and Portugese-speaking countries." } 
+{ $var-description "EBCDIC is an 8-bit legacy encoding designed for IBM mainframes like System/360 in the 1960s. It has since fallen into disuse. It contains large unallocated regions, and the version included here (code page 37) contains auxiliary characters in this region for English- and Portugese-speaking countries." }
 { $see-also "encodings-introduction" } ;
 
 ARTICLE: "io.encodings.8-bit.ebcdic" "EBCDIC encoding"
index b7d658ac70f4a0bda68ee08691cc85744abcb221..edf87e48d81c9385d315dda92f189cb4a3f823e6 100644 (file)
@@ -4,7 +4,7 @@ USING: help.markup help.syntax ;
 IN: io.encodings.8-bit.greek
 
 HELP: latin/greek
-{ $description "This is the ISO-8859-7 encoding, also called Latin/Greek. It is an 8-bit superset of ASCII and provides the characters necessary for Greek written in modern monotonic orthography, or ancient Greek without accent marks." } 
+{ $description "This is the ISO-8859-7 encoding, also called Latin/Greek. It is an 8-bit superset of ASCII and provides the characters necessary for Greek written in modern monotonic orthography, or ancient Greek without accent marks." }
 { $see-also "encodings-introduction" } ;
 
 ARTICLE: "io.encodings.8-bit.greek" "Greek encoding"
index 94e2652e2a85ffeaff6ef5eeb02a5294e5a9fc64..d63d37771d02d755a13c61c81f599698328a1d96 100644 (file)
@@ -4,7 +4,7 @@ USING: help.markup help.syntax ;
 IN: io.encodings.8-bit.koi8-r
 
 HELP: koi8-r
-{ $var-description "KOI8-R is an 8-bit superset of ASCII which encodes the Cyrillic alphabet, as used in Russian and Bulgarian. Characters are in such an order that, if the eight bit is stripped, text is still interpretable as ASCII. Block-building characters also exist." } 
+{ $var-description "KOI8-R is an 8-bit superset of ASCII which encodes the Cyrillic alphabet, as used in Russian and Bulgarian. Characters are in such an order that, if the eight bit is stripped, text is still interpretable as ASCII. Block-building characters also exist." }
 { $see-also "encodings-introduction" } ;
 
 ARTICLE: "io.encodings.8-bit.koi8-r" "KOI8-R encoding"
index 90bc0125a9b11c0a64593fff498f300c21d3378a..a5c9bd76199260f7491e91e04f34a7f2b6ee9dad 100644 (file)
@@ -4,7 +4,7 @@ USING: help.markup help.syntax ;
 IN: io.encodings.8-bit.latin1
 
 HELP: latin1
-{ $var-description "This is the ISO-8859-1 encoding, also called Latin-1: Western European. It is an 8-bit superset of ASCII which is the default for a mimetype starting with 'text' and provides the characters necessary for most western European languages." } 
+{ $var-description "This is the ISO-8859-1 encoding, also called Latin-1: Western European. It is an 8-bit superset of ASCII which is the default for a mimetype starting with 'text' and provides the characters necessary for most western European languages." }
 { $see-also "encodings-introduction" } ;
 
 ARTICLE: "io.encodings.8-bit.latin1" "Latin1 encoding"
index 382b083a266e4e42941fa85f2669f52f08366c15..da06009e57f69ad92e03c30881caf7c8eb7710de 100644 (file)
@@ -4,7 +4,7 @@ USING: help.markup help.syntax ;
 IN: io.encodings.8-bit.latin10
 
 HELP: latin10
-{ $var-description "This is the ISO-8859-16 encoding, also called Latin-10: South-Eastern European. It is an 8-bit superset of ASCII." } 
+{ $var-description "This is the ISO-8859-16 encoding, also called Latin-10: South-Eastern European. It is an 8-bit superset of ASCII." }
 { $see-also "encodings-introduction" } ;
 
 ARTICLE: "io.encodings.8-bit.latin10" "Latin10 encoding"
index 1da488fe6c2a5f86b11392de761b2d952b17676e..c2ee8fcfaf3f20cc7a0f819341bcf3d840922706 100644 (file)
@@ -4,7 +4,7 @@ USING: help.markup help.syntax ;
 IN: io.encodings.8-bit.latin2
 
 HELP: latin2
-{ $var-description "This is the ISO-8859-2 encoding, also called Latin-2: Eastern European. It is an 8-bit superset of ASCII and provides the characters necessary for most eastern European languages." } 
+{ $var-description "This is the ISO-8859-2 encoding, also called Latin-2: Eastern European. It is an 8-bit superset of ASCII and provides the characters necessary for most eastern European languages." }
 { $see-also "encodings-introduction" } ;
 
 ARTICLE: "io.encodings.8-bit.latin2" "Latin2 encoding"
index 8cb719b89015395b293f7b9b80a2b263d1fcfa1b..6613e2ed0429a1473844110b794561ca85f64288 100644 (file)
@@ -4,7 +4,7 @@ USING: help.markup help.syntax ;
 IN: io.encodings.8-bit.latin3
 
 HELP: latin3
-{ $var-description "This is the ISO-8859-3 encoding, also called Latin-3: South European. It is an 8-bit superset of ASCII and provides the characters necessary for Turkish, Maltese and Esperanto." } 
+{ $var-description "This is the ISO-8859-3 encoding, also called Latin-3: South European. It is an 8-bit superset of ASCII and provides the characters necessary for Turkish, Maltese and Esperanto." }
 { $see-also "encodings-introduction" } ;
 
 ARTICLE: "io.encodings.8-bit.latin3" "Latin3 encoding"
index cfb53d23b6c0283ad40804f870eff9174a8546e2..5e1c8a2eafb7e93d747f7e00a1f41555b7d6ed4b 100644 (file)
@@ -4,7 +4,7 @@ USING: help.markup help.syntax ;
 IN: io.encodings.8-bit.latin4
 
 HELP: latin4
-{ $description "This is the ISO-8859-4 encoding, also called Latin-4: North European. It is an 8-bit superset of ASCII and provides the characters necessary for Latvian, Lithuanian, Estonian, Greenlandic and Sami." } 
+{ $description "This is the ISO-8859-4 encoding, also called Latin-4: North European. It is an 8-bit superset of ASCII and provides the characters necessary for Latvian, Lithuanian, Estonian, Greenlandic and Sami." }
 { $see-also "encodings-introduction" } ;
 
 ARTICLE: "io.encodings.8-bit.latin4" "Latin4 encoding"
index 60feed181c43ef7c663f12fd082ab9a224de7e7a..c144638be7c570726119340056c7fb93df1e25b1 100644 (file)
@@ -4,7 +4,7 @@ USING: help.markup help.syntax ;
 IN: io.encodings.8-bit.latin5
 
 HELP: latin5
-{ $var-description "This is the ISO-8859-9 encoding, also called Latin-5: Turkish. It is an 8-bit superset of ASCII and provides the characters necessary for Turkish, similar to Latin-1 but replacing the spots used for Icelandic with characters used in Turkish." } 
+{ $var-description "This is the ISO-8859-9 encoding, also called Latin-5: Turkish. It is an 8-bit superset of ASCII and provides the characters necessary for Turkish, similar to Latin-1 but replacing the spots used for Icelandic with characters used in Turkish." }
 { $see-also "encodings-introduction" } ;
 
 ARTICLE: "io.encodings.8-bit.latin5" "Latin5 encoding"
index f1866c3ec1e778637c966ec2319f5603c99b962f..a33788bc224dcc388c5e7c27bd35a2072a487a26 100644 (file)
@@ -4,7 +4,7 @@ USING: help.markup help.syntax ;
 IN: io.encodings.8-bit.latin6
 
 HELP: latin6
-{ $var-description "This is the ISO-8859-10 encoding, also called Latin-6: Nordic. It is an 8-bit superset of ASCII containing the same characters as Latin-4, but rearranged to be of better use to nordic languages." } 
+{ $var-description "This is the ISO-8859-10 encoding, also called Latin-6: Nordic. It is an 8-bit superset of ASCII containing the same characters as Latin-4, but rearranged to be of better use to nordic languages." }
 { $see-also "encodings-introduction" } ;
 
 ARTICLE: "io.encodings.8-bit.latin6" "Latin6 encoding"
index ebd5eb6d97c46688c843a55c7dbcb1f3b06c37cd..c4e3b80638eae7b46e9bfe392d6aa614b8c1c52d 100644 (file)
@@ -4,7 +4,7 @@ USING: help.markup help.syntax ;
 IN: io.encodings.8-bit.latin7
 
 HELP: latin7
-{ $var-description "This is the ISO-8859-13 encoding, also called Latin-7: Baltic Rim. It is an 8-bit superset of ASCII containing all characters necessary to represent Baltic Rim languages, as previous character sets were incomplete." } 
+{ $var-description "This is the ISO-8859-13 encoding, also called Latin-7: Baltic Rim. It is an 8-bit superset of ASCII containing all characters necessary to represent Baltic Rim languages, as previous character sets were incomplete." }
 { $see-also "encodings-introduction" } ;
 
 ARTICLE: "io.encodings.8-bit.latin7" "Latin7 encoding"
index 5dc2f1e45dafae7da287fc50e720448a5e0d6bf9..f72bf4f9ce49279c5f2de479d766b2727eae2425 100644 (file)
@@ -4,7 +4,7 @@ USING: help.markup help.syntax ;
 IN: io.encodings.8-bit.latin8
 
 HELP: latin8
-{ $var-description "This is the ISO-8859-14 encoding, also called Latin-8: Celtic. It is an 8-bit superset of ASCII designed for Celtic languages like Gaelic and Breton." } 
+{ $var-description "This is the ISO-8859-14 encoding, also called Latin-8: Celtic. It is an 8-bit superset of ASCII designed for Celtic languages like Gaelic and Breton." }
 { $see-also "encodings-introduction" } ;
 
 ARTICLE: "io.encodings.8-bit.latin8" "Latin8 encoding"
index 3fd00fa8a37062346ad88694f6d8aaeebe5a004e..1fd061ac68b1231152b8f16f58947dccc20b1cc2 100644 (file)
@@ -4,7 +4,7 @@ USING: help.markup help.syntax ;
 IN: io.encodings.8-bit.mac-roman
 
 HELP: mac-roman
-{ $var-description "Mac Roman is an 8-bit superset of ASCII which was the standard encoding on Mac OS prior to version 10. It is incompatible with Latin-1 in all but a few places and ASCII, and it is suitable for encoding many Western European languages." } 
+{ $var-description "Mac Roman is an 8-bit superset of ASCII which was the standard encoding on Mac OS prior to version 10. It is incompatible with Latin-1 in all but a few places and ASCII, and it is suitable for encoding many Western European languages." }
 { $see-also "encodings-introduction" } ;
 
 ARTICLE: "io.encodings.8-bit.mac-roman" "Mac Roman encoding"
index 5d2640b6fdf7f619e597bf38f601ff3661586fe4..c9a5294a4114a11b73457f2263db126976e0bf31 100644 (file)
@@ -4,7 +4,7 @@ USING: help.markup help.syntax ;
 IN: io.encodings.8-bit.thai
 
 HELP: latin/thai
-{ $var-description "This is the ISO-8859-11 encoding, also called Latin/Thai. It is an 8-bit superset of ASCII containing the characters necessary to represent Thai. It is basically identical to TIS-620." } 
+{ $var-description "This is the ISO-8859-11 encoding, also called Latin/Thai. It is an 8-bit superset of ASCII containing the characters necessary to represent Thai. It is basically identical to TIS-620." }
 { $see-also "encodings-introduction" } ;
 
 ARTICLE: "io.encodings.8-bit.thai" "Thai encoding"
index cd9461e19d2dfc271f37b2a6336493854a038769..ed5e48084969a6a3ac4798b75ae2058ec82840eb 100644 (file)
@@ -4,7 +4,7 @@ USING: help.markup help.syntax ;
 IN: io.encodings.8-bit.windows-1252
 
 HELP: windows-1252
-{ $var-description "Windows 1252 is an 8-bit superset of ASCII which is closely related to Latin-1. Control characters in the 0x80 to 0x9F range are replaced with printable characters such as the Euro symbol." } 
+{ $var-description "Windows 1252 is an 8-bit superset of ASCII which is closely related to Latin-1. Control characters in the 0x80 to 0x9F range are replaced with printable characters such as the Euro symbol." }
 { $see-also "encodings-introduction" } ;
 
 ARTICLE: "io.encodings.8-bit.windows-1252" "Windows 1252 encoding"
index 14908c39039dd984bcd5abdee4a41f91e1a020d6..5e14518361db49538809bc939c33460ed9759726 100644 (file)
@@ -5,7 +5,7 @@ HELP: binary
 { $class-description "Encoding descriptor for binary I/O." } ;
 
 ARTICLE: "io.encodings.binary" "Binary encoding"
-"Making an encoded stream with the binary encoding is a no-op; streams with this encoding deal with byte-arrays, not strings." 
+"Making an encoded stream with the binary encoding is a no-op; streams with this encoding deal with byte-arrays, not strings."
 { $subsections binary } ;
 
 ABOUT: "io.encodings.binary"
index 2abe804a563b2cfb1ab67c86f70f06b3b8803364..7b2248af05896a82579369dfea3efdd8047b41fc 100644 (file)
@@ -10,4 +10,4 @@ HELP: euc-kr
 ARTICLE: "io.encodings.euc-kr" "EUC-KR encoding"
 { $subsections euc-kr } ;
 
-ABOUT: "io.encodings.euc-kr"
\ No newline at end of file
+ABOUT: "io.encodings.euc-kr"
index d6ce4fb2fb5a96eef255fa2ea898fcf68f98cafd..f4d78a217df271d84b9efabc34b0c1eac9097129 100644 (file)
@@ -5,7 +5,7 @@ ABOUT: "io.encodings.iana"
 
 ARTICLE: "io.encodings.iana" "IANA-registered encoding names"
 "The " { $vocab-link "io.encodings.iana" } " vocabulary provides words for accessing the names of encodings and the encoding descriptors corresponding to names." $nl
-"Most text encodings in common use have been registered with IANA. There is a standard set of names for each encoding. Simple conversion functions:" 
+"Most text encodings in common use have been registered with IANA. There is a standard set of names for each encoding. Simple conversion functions:"
 { $subsections
     name>encoding
     encoding>name
index c94f46435436cc20722d53d9c084fa4bc1a1c488..67fc0c1a322de62a6f5947b00b60787cf779f3d3 100644 (file)
@@ -9,4 +9,4 @@ HELP: johab
 ARTICLE: "io.encodings.johab" "Korean Johab encoding"
 { $subsections johab } ;
 
-ABOUT: "io.encodings.johab"
\ No newline at end of file
+ABOUT: "io.encodings.johab"
index 9d50267395c6462b0cc816580990787c0ff93907..8dce520ddb8391b9b523188c161a9c72a80834c9 100644 (file)
@@ -23,7 +23,7 @@ B{ 230 136 145 231 136 177 228 189 160 } utf8 decode ."""
     }
 } ;
 
-HELP: encode 
+HELP: encode
 { $values { "string" string } { "encoding" "an encoding descriptor" } { "byte-array" byte-array } }
 { $description "Converts a string into a byte array, interpreting that string with the given encoding." }
 { $examples
index 933218012debf86ff8d33f26759b5063e74a19c1..53bba09861a5c385207c1c8ec0b22e32f752ff64 100644 (file)
@@ -26,4 +26,3 @@ HELP: utf32
 { $see-also "encodings-introduction" } ;
 
 { utf32 utf32le utf32be } related-words
-
index d7f23c8be02a56fbd67aca47d087a9874b8ce934..c32ebbd18647e5cf3d79227eb82170c447dc5411 100644 (file)
@@ -54,17 +54,17 @@ $low-level-note ;
 
 HELP: <buffered-port>
 { $values { "handle" "a native handle identifying an I/O resource" } { "class" class } { "port" "a new " { $link port } } }
-{ $description "Creates a new " { $link port } " using the specified native handle and a default-sized I/O buffer." } 
+{ $description "Creates a new " { $link port } " using the specified native handle and a default-sized I/O buffer." }
 $low-level-note ;
 
 HELP: <input-port>
 { $values { "handle" "a native handle identifying an I/O resource" } { "input-port" "a new " { $link input-port } } }
-{ $description "Creates a new " { $link input-port } " using the specified native handle and a default-sized input buffer." } 
+{ $description "Creates a new " { $link input-port } " using the specified native handle and a default-sized input buffer." }
 $low-level-note ;
 
 HELP: <output-port>
 { $values { "handle" "a native handle identifying an I/O resource" } { "output-port" "a new " { $link output-port } } }
-{ $description "Creates a new " { $link output-port } " using the specified native handle and a default-sized input buffer." } 
+{ $description "Creates a new " { $link output-port } " using the specified native handle and a default-sized input buffer." }
 $low-level-note ;
 
 HELP: (wait-to-read)
index b06aca98ac799b255807d3bff31a44e2c73000e7..d9378ccedab61c443f1a6230b3dbb58fcd9cefa1 100644 (file)
@@ -82,4 +82,3 @@ ARTICLE: "network-icmp" "ICMP"
 } ;
 
 ABOUT: "network-icmp"
-
index e78f3df28d77e929e58d2bf2db74dae2530ec319..8d68085b4f5fc1b989594afa90c4f5de97908ed7 100644 (file)
@@ -29,4 +29,4 @@ $nl
     with-null-reader
 } ;
 
-ABOUT: "io.streams.null"
\ No newline at end of file
+ABOUT: "io.streams.null"
index 14ceb6c790b9f4ce6a2e01bd5f3011bb08715b4c..4983c014f7c018eae8ba7e78a79efdb28572c599 100644 (file)
@@ -6,13 +6,13 @@ IN: io.streams.throwing
 
 HELP: stream-exhausted
 { $values
-    { "n" integer } { "stream" "an input stream" } { "word" word }    
+    { "n" integer } { "stream" "an input stream" } { "word" word }
 }
 { $description "The exception that gets thrown when a stream is exhausted." } ;
 
 HELP: stream-throw-on-eof
 { $values
-    { "stream" "an input stream" } { "quot" quotation }    
+    { "stream" "an input stream" } { "quot" quotation }
 }
 { $description "Wraps a stream in a " { $link <throws-on-eof-stream> } " tuple and calls the quotation with this stream as the " { $link input-stream } " variable. Causes a " { $link stream-exhausted } " exception to be thrown upon stream exhaustion. The stream is left open after this combinator returns." }
 "This example will throw a " { $link stream-exhausted } " exception:"
index 6d441cfc57a86bc3f1e71364c09a5ba133f58fe0..9c8d0d5b93e07d2104a8fa69f715225c382b6958 100644 (file)
@@ -5,7 +5,7 @@ IN: json.writer
 
 HELP: >json
 { $values { "obj" object } { "string" "the object converted to JSON format" } }
-{ $description "Serializes the object into a JSON formatted string." } 
+{ $description "Serializes the object into a JSON formatted string." }
 { $see-also json-print } ;
 
 HELP: json-print
index f8455cce9f2ebd4def9aaaa236920a62b49c7fbe..2e9ce0169d5bc748ee707e3600b569b48ad71eec 100644 (file)
@@ -22,4 +22,4 @@ $nl
     <linked-assoc>
 } ;
 
-ABOUT: "linked-assocs"
\ No newline at end of file
+ABOUT: "linked-assocs"
index fb73182f3dffc9ae026d3d604b0ab963558f22c2..e6d61297cc9036ee3aa33df5e929f53f903bbb82 100644 (file)
@@ -4,19 +4,19 @@ USING: help.markup help.syntax namespaces assocs sequences
 kernel combinators ;
 IN: match
 
-HELP: match 
+HELP: match
 { $values { "value1" object } { "value2" object } { "bindings" assoc }
 }
-{ $description "Pattern match value1 against value2. These values can be any Factor value, including sequences and tuples. The values can contain pattern variables, which are symbols that begin with '?'. The result is a hashtable of the bindings, mapping the pattern variables from one sequence to the equivalent value in the other sequence. The '_' symbol can be used to ignore the value at that point in the pattern for the match. " } 
-{ $examples 
+{ $description "Pattern match value1 against value2. These values can be any Factor value, including sequences and tuples. The values can contain pattern variables, which are symbols that begin with '?'. The result is a hashtable of the bindings, mapping the pattern variables from one sequence to the equivalent value in the other sequence. The '_' symbol can be used to ignore the value at that point in the pattern for the match. " }
+{ $examples
     { $unchecked-example "USE: match" "MATCH-VARS: ?a ?b ;\n{ ?a { 2 ?b } 5 } { 1 { 2 3 } _ } match ." "H{ { ?a 1 } { ?b 3 } }" }
 }
 { $see-also match-cond POSTPONE: MATCH-VARS: replace-patterns match-replace } ;
 
 HELP: match-cond
 { $values { "assoc" "a sequence of pairs" } }
-{ $description "Calls the second quotation in the first pair whose first sequence yields a successful " { $link match } " against the top of the stack. The second quotation, when called, has the hashtable returned from the " { $link match } " call bound as the top namespace so " { $link get } " can be used to retrieve the values. To have a fallthrough match clause use the '_' match variable." } 
-{ $examples 
+{ $description "Calls the second quotation in the first pair whose first sequence yields a successful " { $link match } " against the top of the stack. The second quotation, when called, has the hashtable returned from the " { $link match } " call bound as the top namespace so " { $link get } " can be used to retrieve the values. To have a fallthrough match clause use the '_' match variable." }
+{ $examples
     { $code "USE: match" "MATCH-VARS: ?value ;\n{ increment 346126 } {\n  { { increment ?value } [ ?value do-something ] }\n  { { decrement ?value } [ ?value do-something-else ] }\n  { _ [ no-match-found ] }\n} match-cond" }
 }
 { $see-also match POSTPONE: MATCH-VARS: replace-patterns match-replace } ;
@@ -26,25 +26,25 @@ HELP: MATCH-VARS:
 { $syntax "MATCH-VARS: var ... ;" }
 { $values { "var" "a match variable name beginning with '?'" } }
 { $description "Creates a symbol that can be used in " { $link match } " and " { $link match-cond } " for binding values in the matched sequence. The symbol name is created as a word that is defined to get the value of the symbol out of the current namespace. This can be used in " { $link match-cond } " to retrive the values in the quotation body." }
-{ $examples 
+{ $examples
     { $code "USE: match" "MATCH-VARS: ?value ;\n{ increment 346126 } {\n  { { increment ?value } [ ?value do-something ] }\n  { { decrement ?value } [ ?value do-something-else ] }\n  { _ [ no-match-found ] }\n} match-cond" }
 }
 { $see-also match match-cond replace-patterns match-replace } ;
 
 HELP: replace-patterns
 { $values { "object" object } { "result" object } }
-{ $description "Copy the object, replacing each occurrence of a pattern matching variable with the actual value of that variable." } 
+{ $description "Copy the object, replacing each occurrence of a pattern matching variable with the actual value of that variable." }
 { $see-also match-cond POSTPONE: MATCH-VARS: match-replace } ;
 
 HELP: match-replace
 { $values { "object" object } { "pattern1" object } { "pattern2" object } { "result" object } }
-{ $description "Matches the " { $snippet "object" } " against " { $snippet "pattern1" } ". The pattern match variables in " { $snippet "pattern1" } " are assigned the values from the matching " { $snippet "object" } ". These are then replaced into the " { $snippet "pattern2" } " pattern match variables." } 
+{ $description "Matches the " { $snippet "object" } " against " { $snippet "pattern1" } ". The pattern match variables in " { $snippet "pattern1" } " are assigned the values from the matching " { $snippet "object" } ". These are then replaced into the " { $snippet "pattern2" } " pattern match variables." }
 { $examples
   { $example
       "USING: match prettyprint ;"
       "IN: scratchpad"
       "MATCH-VARS: ?a ?b ;"
-      "{ 1 2 } { ?a ?b } { ?b ?a } match-replace ." 
+      "{ 1 2 } { ?a ?b } { ?b ?a } match-replace ."
       "{ 2 1 }"
   }
 }
index d3bead7dea6ac3b2e80b081f11179ee1f8eb361d..0a35ab12f37f024636d4e086770595578c5df3c5 100644 (file)
@@ -42,4 +42,3 @@ HELP: c>q
 HELP: euler
 { $values { "phi" number } { "theta" number } { "psi" number } { "q" "a quaternion" } }
 { $description "Convert a rotation given by Euler angles (phi, theta, and psi) to a quaternion." } ;
-
index 1c82f516c9c1da0bd0a8bb06cf80715485aaf8a9..e0ce98f1de16df98c84359e7d92c4564ce39a462 100644 (file)
@@ -24,5 +24,5 @@ $nl
 "Computing the factorial of 100 with a descending range:"
 { $code "100 1 [a,b] product" }
 "A range can be converted into a concrete sequence using a word such as " { $link >array } ". In most cases this is unnecessary since ranges implement the sequence protocol already. It is necessary if a mutable sequence is needed, for use with words such as " { $link set-nth } " or " { $link map! } "." ;
-  
+
 ABOUT: "math.ranges"
index 6c3fca6061798b163d781cf3b8cc9f1f55d0bf15..57b37f1bb7ab71bd25a72da8c175e2828b6238ee 100644 (file)
@@ -48,4 +48,3 @@ HELP: >fraction
 HELP: 2>fraction
 { $values { "a/b" rational } { "c/d" rational } { "a" integer } { "c" integer } { "b" "a positive integer" } { "d" "a positive integer" } }
 { $description "Extracts the numerator and denominator of two rational numbers at once." } ;
-
index 53159279105f9580543fd4612e39e389a788fc91..959bea8d09b602c575ea21bcdf9ff8957080b880 100644 (file)
@@ -73,7 +73,7 @@ HELP: sample-var
   { $example "USING: math.statistics prettyprint ;" "{ 1 2 3 } sample-var ." "1" }
   { $example "USING: math.statistics prettyprint ;" "{ 1 2 3 4 } sample-var ." "1+2/3" } } ;
 
-HELP: population-cov 
+HELP: population-cov
 { $values { "{x}" sequence } { "{y}" sequence } { "cov" "a real number" } }
 { $description "Computes the covariance of two sequences, " { $snippet "{x}" } " and " { $snippet "{y}" } "." } ;
 
index 4368207c85725e1d42ea889bf8b25eec88023b35..26a139b195538400763f110e3a226662beb9e5fe 100644 (file)
@@ -5,7 +5,7 @@ IN: mime.types
 
 HELP: mime-db
 { $values
-    
+
      { "seq" sequence } }
 { $description "Outputs an array where the first element is a MIME type and the rest of the array is file extensions that have that MIME type." } ;
 
@@ -17,13 +17,13 @@ HELP: mime-type
 
 HELP: mime-types
 { $values
-    
+
      { "assoc" assoc } }
 { $description "Outputs an " { $snippet "assoc" } " made from the data in the " { $link mime-db } " word where the keys are file extensions and the values are the corresponding MIME types." } ;
 
 HELP: nonstandard-mime-types
 { $values
-    
+
      { "assoc" assoc } }
 { $description "A list of Factor-specific MIME types that are added to the MIME database loaded from disk." } ;
 
index 13f0d8bb49c079a9936258a6fa99c58c9a92d204..e4487111b9e4c9d33573b4366ba41b289eae3e8d 100644 (file)
@@ -23,7 +23,7 @@ $nl
 "Mirrors are created by calling " { $link <mirror> } " or " { $link make-mirror } "." } ;
 
 HELP: <mirror>
-{ $values { "object" object } { "mirror" mirror } } 
+{ $values { "object" object } { "mirror" mirror } }
 { $description "Creates a " { $link mirror } " reflecting an object." }
 { $examples
     { $example
index aa0a8f3b8714894c854a167e4544d060cf0ec61b..3e4e527c08d37c821af58c44b8b29138a7ea5517 100644 (file)
@@ -113,17 +113,17 @@ HELP: range-max-value*
 
 HELP: set-range-value
 { $values { "value" object } { "model" model } }
-{ $description "Sets the current value of a range model." } 
+{ $description "Sets the current value of a range model." }
 { $side-effects "model" } ;
 
 HELP: set-range-page-value
 { $values { "value" object } { "model" model } }
-{ $description "Sets the page size of a range model." } 
+{ $description "Sets the page size of a range model." }
 { $side-effects "model" } ;
 
 HELP: set-range-min-value
 { $values { "value" object } { "model" model } }
-{ $description "Sets the minimum value of a range model." } 
+{ $description "Sets the minimum value of a range model." }
 { $side-effects "model" } ;
 
 HELP: set-range-max-value
index dc3cc35e872a65c296bb0809711d1572e55dfe47..b04aab369a26e64aa57f6dde83a457a6df19397d 100644 (file)
@@ -59,8 +59,8 @@ ARTICLE: "range-model-protocol" "Range model protocol"
     range-max-value*
     set-range-value
     set-range-page-value
-    set-range-min-value 
-    set-range-max-value 
+    set-range-min-value
+    set-range-max-value
 } ;
 
 ABOUT: "models-range"
index c05ee17c475bc1f576e2135df5f65f153b3c4c55..d6a73bf83ff80c43f403038b79fbcdfde2c515c7 100644 (file)
@@ -40,4 +40,4 @@ ARTICLE: "opengl.annotations" "OpenGL error reporting"
     reset-gl-functions
 } ;
 
-ABOUT: "opengl.annotations"
\ No newline at end of file
+ABOUT: "opengl.annotations"
index 019b29ef543199554bfd3acc59b7d6774f30fd88..a94e52b9fccfa335e6cdce569d54054005d8cccc 100644 (file)
@@ -87,5 +87,3 @@ ARTICLE: "opengl-modeling-transformations" "Modeling transformations"
 
 { glTranslatef glTranslated glRotatef glRotated glScalef glScaled }
 related-words
-
-
index ac938f3a48d014cd69ca929b316a530f89443271..30a4cff0b6a9ff409fe2b71458694566f46b0208 100644 (file)
@@ -69,7 +69,7 @@ HELP: gl-program
 } ;
 
 HELP: <gl-program>
-{ $values { "shaders" "A sequence of " { $link gl-shader } " objects." } { "program" "a new " { $link gl-program } } } 
+{ $values { "shaders" "A sequence of " { $link gl-shader } " objects." } { "program" "a new " { $link gl-program } } }
 { $description "Creates a new GLSL program object, attaches all the shader objects in the " { $snippet "shaders" } " sequence, and attempts to link them. The returned object can be checked for validity by " { $link check-gl-program } " or " { $link gl-program-ok? } ". Errors and warnings generated by the GLSL linker will be collected in the info log, available from " { $link gl-program-info-log } ".\n\nWhen the program object and its attached shaders are no longer needed, it should be deleted using " { $link delete-gl-program } "." } ;
 
 HELP: <simple-gl-program>
index b209ee5cd50149664f509f4a042def6ae621f434..47e33d73e529d1fe2d0606b4b830df428d6aa213 100644 (file)
@@ -12,4 +12,3 @@ HELP: delete-texture
 HELP: make-texture
 { $values { "image" image } { "id" "an OpenGL texture ID" } }
 { $description "Creates a new OpenGL texture from a pixmap image whose dimensions are equal to " { $snippet "dim" } "." } ;
-  
\ No newline at end of file
index 3eae7c776e4d43800b010eb49cea1ba4e6741a94..b389032fb2baa425b0d11c2069f3e110c6d875e8 100644 (file)
@@ -173,7 +173,7 @@ HELP: range-pattern
 "of characters separated with a dash (-) represents the "
 "range of characters from the first to the second, inclusive."
 { $examples
-    { $example "USING: peg peg.parsers prettyprint strings ;" "\"a\" \"_a-zA-Z\" range-pattern parse 1string ." "\"a\"" } 
-    { $code "USING: peg peg.parsers prettyprint ;\n\"0\" \"^0-9\" range-pattern parse => exception"} 
+    { $example "USING: peg peg.parsers prettyprint strings ;" "\"a\" \"_a-zA-Z\" range-pattern parse 1string ." "\"a\"" }
+    { $code "USING: peg peg.parsers prettyprint ;\n\"0\" \"^0-9\" range-pattern parse => exception"}
 }
 }  ;
index 6762373744ef34eef49ba0269ec3b97a2b075045..bd6fa064c7846842bee91e3c012afabcedd4f073 100644 (file)
@@ -41,4 +41,3 @@ HELP: replace
 }
 { $example "USING: math math.parser peg peg.parsers peg.search prettyprint ;" "\"one 123 two 456\" 'integer' [ 2 * number>string ] action replace ." "\"one 246 two 912\"" }
 { $see-also search } ;
-
index 4bf309c23818bba8e7b104bf4a99e6f427f18cdf..9c26923114a8c8d6f17a415a5f98f2e7a5d33a6b 100644 (file)
@@ -14,7 +14,7 @@ HELP: force
 HELP: LAZY:
 { $syntax "LAZY: word ( stack -- effect ) definition... ;" }
 { $values { "word" "a new word to define" } { "definition" "a word definition" } }
-{ $description "Creates a lazy word in the current vocabulary. When executed the word will return a " { $link promise } " that when forced, executes the word definition. Any values on the stack that are required by the word definition are captured along with the promise." } 
+{ $description "Creates a lazy word in the current vocabulary. When executed the word will return a " { $link promise } " that when forced, executes the word definition. Any values on the stack that are required by the word definition are captured along with the promise." }
 { $examples
   { $example "USING: arrays sequences prettyprint promises ;" "IN: scratchpad" "LAZY: zeroes ( -- pair ) 0 zeroes 2array ;" "zeroes force second force first ." "0" }
 } ;
index 5a6598f035c6fa7744c404cdc903302c496e512e..efe9ce7872d97ccdb96013681a19aa07aa85699b 100644 (file)
@@ -39,7 +39,7 @@ HELP: random-32
 HELP: random-bytes
 { $values { "n" integer } { "byte-array" "a random integer" } }
 { $description "Outputs an integer with n bytes worth of bits." }
-{ $examples 
+{ $examples
     { $unchecked-example "USING: prettyprint random ;"
                "5 random-bytes ."
                "B{ 135 50 185 119 240 }"
@@ -49,7 +49,7 @@ HELP: random-bytes
 HELP: random-integers
 { $values { "length" integer } { "n" integer } { "sequence" array } }
 { $description "Outputs an array with " { $snippet "length" } " random integers from [0,n)." }
-{ $examples 
+{ $examples
     { $unchecked-example "USING: prettyprint random ;"
                "10 100 random-integers ."
                "{ 32 62 71 89 54 12 57 57 10 19 }"
@@ -63,7 +63,7 @@ HELP: random-unit
 HELP: random-units
 { $values { "length" integer } { "sequence" array } }
 { $description "Outputs an array with " { $snippet "length" } " random uniform floats from [0,1]." }
-{ $examples 
+{ $examples
     { $unchecked-example "USING: prettyprint random ;"
                "7 random-units ."
                "{
index 8fe779762708a2857c6a1a661762d0e663a5e175..92980e4703f90a026e18aa78cd415ec2f888b9a8 100644 (file)
@@ -94,7 +94,7 @@ HELP: var-ref
 HELP: <var-ref>
 { $values { "var" object } { "var-ref" var-ref } }
 { $description "Creates a reference to the given variable. Note that this reference behaves just like any variable when it comes to dynamic scope. For example, if you use " { $link set-ref } " in an inner scope and then leave that scope, then calling " { $link get-ref } " may not return the expected value. If this is not what you want, try using an " { $link obj-ref } " instead." } ;
+
 HELP: global-var-ref
 { $class-description "Instances of this class reference a global variable. New global references are created by calling " { $link <global-var-ref> } "." } ;
 
@@ -108,7 +108,7 @@ HELP: slot-ref
 HELP: <slot-ref>
 { $values { "tuple" tuple } { "slot" integer } { "slot-ref" slot-ref } }
 { $description "Creates a reference to the value in a particular slot of the given tuple. The slot must be given as an integer, where the first user-defined slot is number 2. This is mostly just a proof of concept until we have a way of generating this slot number from a slot name." } ;
-  
+
 HELP: key-ref
 { $class-description "Instances of this class identify a key in an associative structure. New key references are created by calling " { $link <key-ref> } "." } ;
 
@@ -124,7 +124,7 @@ HELP: <value-ref>
 { $description "Creates a reference to the value associated with " { $snippet "key" } " in " { $snippet "assoc" } "." } ;
 
 { get-ref set-ref delete-ref set-ref* } related-words
-  
+
 { <obj-ref> <var-ref> <global-var-ref> <slot-ref> <key-ref> <value-ref> } related-words
 
 HELP: set-ref*
@@ -150,7 +150,7 @@ HELP: ref-dec
 HELP: take
 { $values { "ref" ref } { "obj" object } }
 { $description "Retrieve the value of the ref and then delete it, returning the value." } ;
-  
+
 { ref-on ref-off ref-inc ref-dec take } related-words
 { take delete-ref } related-words
 { on ref-on } related-words
index c9c3db71b52ff8a8c7001a4d7e7e73eaa4d635be..bb596c43451b65c269f32b7f3512d4f053fb9b8e 100644 (file)
@@ -7,7 +7,7 @@ HELP: >roman
 { $values { "n" integer } { "str" string } }
 { $description "Converts a number to its lower-case Roman Numeral equivalent." }
 { $notes "The range for this word is 1-3999, inclusive." }
-{ $examples 
+{ $examples
     { $example "USING: io roman ;"
                "56 >roman print"
                "lvi"
@@ -18,7 +18,7 @@ HELP: >ROMAN
 { $values { "n" integer } { "str" string } }
 { $description "Converts a number to its upper-case Roman numeral equivalent." }
 { $notes "The range for this word is 1-3999, inclusive." }
-{ $examples 
+{ $examples
     { $example "USING: io roman ;"
                "56 >ROMAN print"
                "LVI"
@@ -29,7 +29,7 @@ HELP: roman>
 { $values { "str" string } { "n" integer } }
 { $description "Converts a Roman numeral to an integer." }
 { $notes "The range for this word is i-mmmcmxcix, inclusive." }
-{ $examples 
+{ $examples
     { $example "USING: prettyprint roman ;"
                "\"lvi\" roman> ."
                "56"
@@ -41,7 +41,7 @@ HELP: roman>
 HELP: roman+
 { $values { "x" string } { "y" string } { "z" string } }
 { $description "Adds two Roman numerals." }
-{ $examples 
+{ $examples
     { $example "USING: io roman ;"
                "\"v\" \"v\" roman+ print"
                "x"
@@ -51,7 +51,7 @@ HELP: roman+
 HELP: roman-
 { $values { "x" string } { "y" string } { "z" string } }
 { $description "Subtracts two Roman numerals." }
-{ $examples 
+{ $examples
     { $example "USING: io roman ;"
                "\"x\" \"v\" roman- print"
                "v"
@@ -63,7 +63,7 @@ HELP: roman-
 HELP: roman*
 { $values { "x" string } { "y" string } { "z" string } }
 { $description "Multiplies two Roman numerals." }
-{ $examples 
+{ $examples
     { $example "USING: io roman ;"
         "\"ii\" \"iii\" roman* print"
         "vi"
@@ -73,7 +73,7 @@ HELP: roman*
 HELP: roman/i
 { $values { "x" string } { "y" string } { "z" string } }
 { $description "Computes the integer division of two Roman numerals." }
-{ $examples 
+{ $examples
     { $example "USING: io roman ;"
         "\"v\" \"iv\" roman/i print"
         "i"
@@ -83,7 +83,7 @@ HELP: roman/i
 HELP: roman/mod
 { $values { "x" string } { "y" string } { "z" string } { "w" string } }
 { $description "Computes the quotient and remainder of two Roman numerals." }
-{ $examples 
+{ $examples
     { $example "USING: kernel io roman ;"
         "\"v\" \"iv\" roman/mod [ print ] bi@"
         "i\ni"
@@ -94,7 +94,7 @@ HELP: roman/mod
 
 HELP: ROMAN:
 { $description "A parsing word that reads the next token and converts it to an integer." }
-{ $examples 
+{ $examples
     { $example "USING: prettyprint roman ;"
                "ROMAN: v ."
                "5"
index 7ba57d819d55ee04f0a0dfd233f60fde65238b23..61439e3d7c031dda3926ac0062feab7a0b856b52 100644 (file)
@@ -17,7 +17,7 @@ HELP: object>bytes
 { $description "Serializes the object to a byte array." } ;
 
 HELP: bytes>object
-{ $values { "bytes" byte-array } { "obj" "deserialized object" } 
+{ $values { "bytes" byte-array } { "obj" "deserialized object" }
 }
 { $description "Deserializes an object from a byte array." } ;
 
index bd68a3b5335106171dcf151504e30d7e9922ac6b..b5f24f6f622ce4ccc1ff1ac85b5f8e48748c49c0 100644 (file)
@@ -30,7 +30,7 @@ HELP: push-new
 { $code """foo <struct>
     5 >>a
     6 >>b
-foo-vector{ } clone push""" } 
+foo-vector{ } clone push""" }
 "By using " { $snippet "push-new" } ", the new struct can be allocated directly from the vector and the intermediate copy can be avoided:"
 { $code """foo-vector{ } clone push-new
     5 >>a
index bd69fb48ca3eaac274e27aa2451e8d348b56c8e8..673b8bdda7c746ea41b115211330a6f4fe667b1a 100644 (file)
@@ -3,4 +3,4 @@ USING: help.markup help.syntax ;
 
 HELP: break
 { $description "A breakpoint. When this word is executed, the walker tool opens with execution suspended at the breakpoint's location." }
-{ $see-also "ui-walker" } ;
\ No newline at end of file
+{ $see-also "ui-walker" } ;
index 90ac1d1bf01fce6736a53c579588de464baf9695..161213e03c648fae20d84f587b63450f47aa5102 100644 (file)
@@ -9,11 +9,11 @@ HELP: <coverage-state>
     { "executed?" boolean }
     { "coverage-state" coverage-state }
 }
-{ $description "Makes a coverage tuple. Users should not call this directly." } ; 
+{ $description "Makes a coverage tuple. Users should not call this directly." } ;
 
 HELP: each-word
 { $values
-    { "string" string } { "quot" quotation }    
+    { "string" string } { "quot" quotation }
 }
 { $description "Calls a quotation on every word in the vocabulary and its private vocabulary, if there is one." } ;
 
@@ -39,7 +39,7 @@ HELP: coverage-on
 
 HELP: coverage.
 { $values
-    { "object" object }    
+    { "object" object }
 }
 { $description "Calls the coverage word on all the words in a vocabalary or on a single word and prints out a report." } ;
 
@@ -52,7 +52,7 @@ HELP: %coverage
 
 HELP: add-coverage
 { $values
-    { "object" object }    
+    { "object" object }
 }
 { $description "Recompiles a vocabulary with the coverage annotation. Note that the annotation tool is still disabled until you call " { $link coverage-on } "." } ;
 
@@ -64,19 +64,19 @@ HELP: covered
 
 HELP: flag-covered
 { $values
-    { "coverage" object }    
+    { "coverage" object }
 }
 { $description "A word that sets the " { $snippet "executed?" } " slot of the coverage tuple when the covered value is true." } ;
 
 HELP: remove-coverage
 { $values
-    { "object" object }    
+    { "object" object }
 }
 { $description "Recompiles a vocabulary without the coverage annotation." } ;
 
 HELP: reset-coverage
 { $values
-    { "object" object }    
+    { "object" object }
 }
 { $description "Sets the " { $snippet "execute?" } " slot of each coverage tuple to false." } ;
 
index aaa21a41f9c1ea817d69f410f53622a7dbea6c10..69ab9338dc5b996fe904474f63b144b030984ecd 100644 (file)
@@ -7,4 +7,3 @@ ARTICLE: "tools.coverage.testvocab" "Coverage tool dummy test vocabulary"
 "The " { $vocab-link "tools.coverage.testvocab" } " vocabulary is just a dummy vocabulary to test " { $vocab-link "tools.coverage" } "." ;
 
 ABOUT: "tools.coverage.testvocab"
-
index 96814169a58a304be85324b32e0d5cbe8025de9c..f52a2c5c1313de1d105832361ebddfff434578f9 100644 (file)
@@ -47,4 +47,4 @@ $nl
 { $subsections errors. }
 "Batch errors are reported in the " { $link "ui.tools.error-list" } "." ;
 
-ABOUT: "tools.errors"
\ No newline at end of file
+ABOUT: "tools.errors"
index 72a5ae4df329236d8f9cb0c8ec9bbee2c242e474..8a1bc976864cf4b2aed19ebc430374c8918ab480 100644 (file)
@@ -26,4 +26,4 @@ $nl
   "T{ point f 1 2 }"
 } ;
 
-ABOUT: "tuple-arrays"
\ No newline at end of file
+ABOUT: "tuple-arrays"
index d3ed8156bca2c012c67ce77ad5e7c8133af04b63..3e5c7f46ae3694a497924233c2d982b6c50a5852 100644 (file)
@@ -97,7 +97,7 @@ HELP: $command
 { $description "Prints the keyboard shortcut associated with " { $snippet "command" } " in the command map named " { $snippet "map" } " on the class " { $snippet "class" } "." } ;
 
 HELP: define-command
-{ $values { "word" word } { "hash" hashtable } } 
+{ $values { "word" word } { "hash" hashtable } }
 { $description "Defines a command. The hashtable can contain the following keys:"
     { $list
         { { $link +nullary+ } " - if set to a true value, the word must have stack effect " { $snippet "( -- )" } "; otherwise it must have stack effect " { $snippet "( target -- )" } }
index e28786723e6061a8c6b72effa97e828eee4b8b05..2954169dfad6cb44ae6d07e73913053545ee6b7e 100644 (file)
@@ -16,4 +16,4 @@ ARTICLE: "ui.gadgets.grid-lines" "Grid lines"
     <grid-lines>
 } ;
 
-ABOUT: "ui.gadgets.grid-lines"
\ No newline at end of file
+ABOUT: "ui.gadgets.grid-lines"
index f52b2efe1f554041bf8513021b59c7cea3090795..9c082896d938fcb3b8868bcd2f688406325481b4 100644 (file)
@@ -34,4 +34,4 @@ $nl
     y>line
 } ;
 
-ABOUT: "ui.gadgets.line-support"
\ No newline at end of file
+ABOUT: "ui.gadgets.line-support"
index 0b3317237728b8e6926627796890cee6b8d67f2a..7ffb9e871854bdbeab6c45ba098b5411b54d8be9 100644 (file)
@@ -21,11 +21,11 @@ HELP: invoke-presentation
 { invoke-presentation invoke-primary invoke-secondary } related-words
 
 HELP: invoke-primary
-{ $values { "presentation" presentation } } 
+{ $values { "presentation" presentation } }
 { $description "Invokes the " { $link primary-operation } " associated to the " { $snippet "object" } ". This word is executed when the presentation is clicked with the left mouse button." } ;
 
 HELP: invoke-secondary
-{ $values { "presentation" presentation } } 
+{ $values { "presentation" presentation } }
 { $description "Invokes the " { $link secondary-operation } " associated to the " { $snippet "object" } ". This word is executed when a list receives a " { $snippet "RET" } " key press." } ;
 
 HELP: <presentation>
index 45f948e14ada974c687836e23dd3c8bed7951a7a..ccacc1cff9ac0b90355875df3cb3bdbcb96462cc 100644 (file)
@@ -72,4 +72,4 @@ $nl
     "ui.gadgets.tables.example"
 } ;
 
-ABOUT: "ui.gadgets.tables"
\ No newline at end of file
+ABOUT: "ui.gadgets.tables"
index ccb651ad30e229103a3cf3bf2653d1758340f1f9..4c1fc3b9645caf478dc7b252ec0677782899785e 100644 (file)
@@ -120,4 +120,3 @@ $nl
     "gl-utilities"
     "text-rendering"
 } ;
-
index 4a5ec277f0389901fa1c6e7afabd93b3ac024a3d..d95bc2d8c5f7abd53804cc48cbe8084cb5f9bc41 100644 (file)
@@ -2,11 +2,11 @@ IN: ui.pens
 USING: help.markup help.syntax kernel ui.gadgets ;
 
 HELP: draw-interior
-{ $values { "gadget" gadget } { "pen" object } } 
+{ $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 { "gadget" gadget } { "pen" object } } 
+{ $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"
index 9348569a5ffa3ccc48d24d1bfce53a1d03dadf34..4a7b5e8dc2b97d84012f8d91df00c84e20b1caf5 100644 (file)
@@ -26,7 +26,7 @@ HELP: clip
 { $var-description "The current clipping rectangle." } ;
 
 HELP: draw-gadget*
-{ $values { "gadget" gadget } } 
+{ $values { "gadget" gadget } }
 { $contract "Draws the gadget by making OpenGL calls. The top-left corner of the gadget should be drawn at the location stored in the " { $link origin } " variable." }
 { $notes "This word should not be called directly. To force a gadget to redraw, call " { $link relayout-1 } "." } ;
 
index aef4b91b9a071cd3d410b4be5edd551fccd55966..dec4083a8ff0a244cd671af8008251ca79eb0008 100644 (file)
@@ -77,4 +77,4 @@ ARTICLE: "text-rendering" "Rendering text"
     draw-string
 } ;
 
-ABOUT: "text-rendering"
\ No newline at end of file
+ABOUT: "text-rendering"
index 1132e1bdceb6c59299da670df4bf7aaf388c193a..e66acaccedb42495e33ea193f87dbaecc906d6cb 100644 (file)
@@ -13,4 +13,4 @@ ARTICLE: "ui-browser" "UI browser"
 { $command-map browser-gadget "multi-touch" }
 "Browsers are instances of " { $link browser-gadget } "." ;
 
-ABOUT: "ui-browser"
\ No newline at end of file
+ABOUT: "ui-browser"
index c430525e403639fc79d89836ceb87e341df6fb87..6498e42e5a3d7ef28f65729b4dcb68cbae43f255 100644 (file)
@@ -87,7 +87,7 @@ HELP: ?group-id
 
 HELP: all-group-names
 { $values
-    
+
     { "seq" sequence }
 }
 { $description "Returns a sequence of group names as strings." } ;
index ad8ddba5da7aece9f19546c36c4f51b57f484037..f2f54b6ecd43a19d64f9dd225849d4375514a8d5 100644 (file)
@@ -5,28 +5,28 @@ IN: uuid
 
 HELP: uuid1
 { $values { "string" "a UUID string" } }
-{ $description 
+{ $description
     "Generates a UUID (version 1) from the host ID, sequence number, "
     "and current time."
 } ;
 
 HELP: uuid3
 { $values { "namespace" string } { "name" string } { "string" "a UUID string" } }
-{ $description 
+{ $description
     "Generates a UUID (version 3) from the MD5 hash of a namespace "
     "UUID and a name."
 } ;
 
 HELP: uuid4
 { $values { "string" "a UUID string" } }
-{ $description 
-    "Generates a UUID (version 4) from random bits." 
+{ $description
+    "Generates a UUID (version 4) from random bits."
 } ;
 
 HELP: uuid5
 { $values { "namespace" string } { "name" string } { "string" "a UUID string" } }
-{ $description 
-    "Generates a UUID (version 5) from the SHA-1 hash of a namespace " 
+{ $description
+    "Generates a UUID (version 5) from the SHA-1 hash of a namespace "
     "UUID and a name."
 } ;
 
@@ -34,7 +34,7 @@ HELP: uuid5
 ARTICLE: "uuid" "UUID (Universally Unique Identifier)"
 "The " { $vocab-link "uuid" } " vocabulary is used to generate UUIDs. "
 "The below words can be used to generate version 1, 3, 4, and 5 UUIDs as specified in RFC 4122."
-$nl 
+$nl
 "If all you want is a unique ID, you should probably call " { $link uuid1 } " or " { $link uuid4 } "."
 { $subsections
     uuid1
@@ -45,5 +45,3 @@ $nl
 ;
 
 ABOUT: "uuid"
-
-
index 1b6deef126fa9ce07ebde01082e4ed1d56c0063b..80ad5681103a7524f6fd4fa1908ebac0ad8a182c 100644 (file)
@@ -40,7 +40,7 @@ HELP: v-max-value
 { $description "Throws an error if " { $snippet "x" } " is larger than " { $snippet "n" } "." } ;
 
 HELP: v-min-value
-{ $values { "x" integer } { "n" integer } }  
+{ $values { "x" integer } { "n" integer } }
 { $description "Throws an error if " { $snippet "x" } " is smaller than " { $snippet "n" } "." } ;
 
 HELP: v-mode
index adce6f0d5569c2b4cce091bc164968dd56209f33..0e1cc6e54d659e10357a0c8a39672c4b2949e61f 100644 (file)
@@ -24,4 +24,3 @@ HELP: wrap-string
 HELP: wrap-indented-string
 { $values { "string" string } { "width" integer } { "indent" "string or integer" } { "newstring" string } }
 { $description "Given a " { $snippet "string" } ", alters the whitespace in the string so that each line has no more than " { $snippet "width" } " characters, unless there is a word longer than " { $snippet "width" } ". Linear whitespace between words is converted to a single space. The " { $snippet "indent" } " can be either a " { $link string } " or a number of spaces to prepend to each line." } ;
-
index feac7c51a790e533b38c4c0babf4d0d944e73a93..d5531bfbafb8a014e7a60b6fd98a2d261810940a 100644 (file)
@@ -7,5 +7,5 @@ ABOUT: "wrap"
 
 ARTICLE: "wrap" "Word wrapping"
 "The " { $vocab-link "wrap" } " vocabulary implements word wrapping. Wrapping can take place based on simple strings, assumed to be monospace, or abstract word objects."
-{ $vocab-subsection "String word wrapping" "wrap.strings" } 
+{ $vocab-subsection "String word wrapping" "wrap.strings" }
 { $vocab-subsection "Word object wrapping" "wrap.words" } ;
index 13cc51bbf26bc9313eca6a99e03b0a270f2ea6a4..791a0828cbea931271891f582c6520efdfdc5169 100644 (file)
@@ -21,4 +21,3 @@ HELP: entities
 HELP: with-entities
 { $values { "entities" "a hash table of strings to strings" } { "quot" "a quotation ( -- )" } }
 { $description "Calls the quotation using the given table of entity values (symbolizing, eg, that " { $snippet "&foo;" } " represents " { $snippet "\"a\"" } ") on top of the default XML entities" } ;
-
index d1e3781dc8ad303a45e457039abe7a84bdff013b..7af84833ef6eb2711bf905b86a72fb8aa70d7e2f 100644 (file)
@@ -53,7 +53,7 @@ ARTICLE: { "xml.syntax" "interpolation" } "XML interpolation syntax"
 "XML interpolation has two forms for each of the words " { $link POSTPONE: <XML } " and " { $link POSTPONE: [XML } ": a fry-like form and a locals form. To splice locals in, use the syntax " { $snippet "<-variable->" } ". To splice something in from the stack, in the style of " { $vocab-link "fry" } ", use the syntax " { $snippet "<->" } ". An XML interpolation form may only use one of these styles."
 $nl
 "These forms can be used where a tag might go, as in " { $snippet "[XML <foo><-></foo> XML]" } " or where an attribute might go, as in " { $snippet "[XML <foo bar=<->/> XML]" } ". When an attribute is spliced in, it is not included if the value is " { $snippet "f" } " and if the value is not a string, the value is put through " { $link present } ". Here is an example of the fry style of XML interpolation:"
-{ $example 
+{ $example
 """USING: splitting xml.writer xml.syntax ;
 "one two three" " " split
 [ [XML <item><-></item> XML] ] map
index 436120c2cae4584d92c63df6379a6bac6b773722..72e3741e72cd5d2cc384a6340ceb717cf07ea901 100644 (file)
@@ -36,5 +36,5 @@ HELP: >byte-vector
 HELP: BV{
 { $syntax "BV{ elements... }" }
 { $values { "elements" "a list of bytes" } }
-{ $description "Marks the beginning of a literal byte vector. Literal byte vectors are terminated by " { $link POSTPONE: } } "." } 
+{ $description "Marks the beginning of a literal byte vector. Literal byte vectors are terminated by " { $link POSTPONE: } } "." }
 { $examples { $code "BV{ 1 2 3 12 }" } } ;
index b08bd9ec7082be0277fa4b5969a32e7a80ebd1bc..63657530bd748b77e5c6cd5d57d0e0e85a3d690a 100644 (file)
@@ -76,7 +76,7 @@ $nl
 { $vocab-subsection "MD5 checksum" "checksums.md5" }
 { $vocab-subsection "SHA checksums" "checksums.sha" }
 { $vocab-subsection "Adler-32 checksum" "checksums.adler-32" }
-{ $vocab-subsection "OpenSSL checksums" "checksums.openssl" } 
+{ $vocab-subsection "OpenSSL checksums" "checksums.openssl" }
 { $vocab-subsection "Internet checksum" "checksums.internet" } ;
 
 ABOUT: "checksums"
index ecc484df1117ba04436488a9ecd1e4202e2e2ff0..6b2c56dfb23b44670ab62c0f7cbf3a2759e6412c 100644 (file)
@@ -27,4 +27,3 @@ HELP: type>class
 { $values { "n" "a non-negative integer" } { "class" class } }
 { $description "Outputs a builtin class whose instances are precisely those having a given pointer tag." }
 { $notes "The parameter " { $snippet "n" } " must be between 0 and the return value of " { $link num-types } "." } ;
-
index e345b9d8f056d9c41054cfdd2979551faf139b1a..8fb8e1076cc222f6e68a8cb3ee49bd254f88fa2d 100644 (file)
@@ -6,4 +6,3 @@ HELP: parse-effect
 { $description "Parses a stack effect from the current input line." }
 { $examples "This word is used by " { $link POSTPONE: ( } " to parse stack effect declarations." }
 $parsing-note ;
-
index 9b57d941c094c88257289c116edcb9fe1fa0f392..88f57a8cc89595b6cefcc0942e6900fb9b8566d8 100644 (file)
@@ -7,4 +7,4 @@ HELP: hook-combination
     "Performs hook method combination . See " { $link POSTPONE: HOOK: } "."
 } ;
 
-{ standard-combination hook-combination } related-words
\ No newline at end of file
+{ standard-combination hook-combination } related-words
index bd87d80295e28646fbf82c55d25ba9d5b9a8721b..1cb286dc877c2c36c2367764d89049cbadbd6bb1 100644 (file)
@@ -59,7 +59,7 @@ HELP: fclose
 
 HELP: fgetc
 { $values { "alien" "a C FILE* handle" } { "byte/f" { $maybe "an integer from 0 to 255" } } }
-{ $description "Reads a single byte from a C FILE* handle, and outputs " { $link f } " on end of file." } 
+{ $description "Reads a single byte from a C FILE* handle, and outputs " { $link f } " on end of file." }
 { $errors "Throws an error if the input operation failed." } ;
 
 HELP: fputc
index 2c434cff83976dc0b45cfe378b5393592b13b2b9..85f21badb4056857d0a74dd347e6af941469c0ec 100644 (file)
@@ -509,4 +509,3 @@ $nl
 { $see-also "integers" "rationals" "floats" "complex-numbers" } ;
 
 ABOUT: "arithmetic"
-
index 0b2928f5b1833342bdec7b482512776614a975f6..6e38bac6c3d0f0a3c38f282550e4878af7f275e1 100644 (file)
@@ -95,13 +95,13 @@ HELP: change-global
 
 HELP: toggle
 { $values
-    { "variable" "a variable, by convention a symbol" }    
+    { "variable" "a variable, by convention a symbol" }
 }
 { $description "Changes the boolean value of a variable to its opposite." } ;
 
 HELP: with-global
 { $values
-    { "quot" quotation }    
+    { "quot" quotation }
 }
 { $description "Runs the quotation in the global namespace." } ;
 
index 3f990ae52499b6e7cf61118299c6c004caf3b2c8..f2ae6ab4733116abb50e9cc322cba6122ba72726 100644 (file)
@@ -3,4 +3,3 @@ IN: parser.notes
 
 HELP: parser-quiet?
 { $var-description "A boolean controlling whether the parser will print various notes. Switched on by default. If a source file is being run for its effect on " { $link output-stream } ", this variable should remain switched on, to prevent parser notes from polluting the output." } ;
-
index 87b3e9e735e4e87543bbe3b2afd570684c6c9b94..d4348100bdcec2ee0e7ce4c382f39a19413ae79c 100644 (file)
@@ -43,7 +43,7 @@ HELP: LIBRARY:
 { $description "Sets the logical library for subsequent " { $link POSTPONE: FUNCTION: } " and " { $link POSTPONE: SUBROUTINE: } " definitions. The given library name must have been opened with a previous call to " { $link add-fortran-library } "." } ;
 
 HELP: add-fortran-library
-{ $values { "name" string } { "soname" string } { "fortran-abi" symbol } } 
+{ $values { "name" string } { "soname" string } { "fortran-abi" symbol } }
 { $description "Opens the shared library in the file specified by " { $snippet "soname" } " under the logical name " { $snippet "name" } " so that it may be used in subsequent " { $link POSTPONE: LIBRARY: } " and " { $link fortran-invoke } " calls. Functions and subroutines from the library will be defined using the specified " { $snippet "fortran-abi" } ", which must be one of the supported " { $link "alien.fortran-abis" } "." }
 ;
 
index c08887e96255e63eddd757f4306f333d357962cb..cb36db6dc016c7f5ac5cc56955b82cd2e2633083 100644 (file)
@@ -37,7 +37,7 @@ ARTICLE: "audio" "Audio framework"
 { $list
 { { $vocab-link "audio.engine" } " provides a high-level OpenAL-based engine for playing audio clips." }
 { { $vocab-link "audio.loader" } " reads PCM data from files on disk into " { $link audio } " objects. " { $vocab-link "audio.wav" } " and " { $vocab-link "audio.aiff" } " support specific audio file formats." }
-{ { $vocab-link "audio.vorbis" } " implements an " { $snippet "audio.engine" } " compatible generator object for decoding Ogg Vorbis audio data from a stream." } 
+{ { $vocab-link "audio.vorbis" } " implements an " { $snippet "audio.engine" } " compatible generator object for decoding Ogg Vorbis audio data from a stream." }
 } ;
 
 ABOUT: "audio"
index a01a4cdf6a56779d0ee2092af379b619e618a3ad..20b195a0cbe0a7b78c349404dd9586ec7918f843 100644 (file)
@@ -19,7 +19,7 @@ HELP: <audio-orientation-state>
 
 HELP: <standard-audio-engine>
 { $values
-    
+
     { "engine" audio-engine }
 }
 { $description "Constructs an " { $link audio-engine } " instance by calling " { $link <audio-engine> } " with the default values of " { $link f } " for the " { $snippet "device-name" } " and 16 for the " { $snippet "voice-count" } ". The engine is returned in the stopped state; to start audio processing, use " { $link start-audio } " or " { $link start-audio* } "." } ;
@@ -80,7 +80,7 @@ HELP: audio-gain
 HELP: audio-listener
 { $class-description "A tuple class that trivially implements the " { $link "audio.engine-listener" } " with accessors on its tuple slots."
 { $list
-    { { $snippet "position" } " provides the " { $link audio-position } "." } 
+    { { $snippet "position" } " provides the " { $link audio-position } "." }
     { { $snippet "gain" } " provides the " { $link audio-gain } "." }
     { { $snippet "velocity" } " provides the " { $link audio-velocity } "." }
     { { $snippet "orientation" } " provides the " { $link audio-orientation } "." }
@@ -91,7 +91,7 @@ HELP: audio-orientation
     { "listener" "an object implementing the " { $link "audio.engine-listener" } }
     { "orientation" audio-orientation }
 }
-{ $description "Returns the orientation of the listener. The orientation must be returned in an " { $snippet "audio-orientation" } " tuple with the following slots:" 
+{ $description "Returns the orientation of the listener. The orientation must be returned in an " { $snippet "audio-orientation" } " tuple with the following slots:"
 { $list
     { { $snippet "forward" } " is a 3-component vector indicating the direction the listener is facing." }
     { { $snippet "up" } " is a 3-component vector indicating the \"up\" direction for the listener. This vector does not need to be normal to the " { $snippet "forward" } " vector." }
@@ -121,7 +121,7 @@ HELP: audio-rolloff
 HELP: audio-source
 { $class-description "A tuple class that trivially implements the " { $link "audio.engine-sources" } " with accessors on its tuple slots."
 { $list
-    { { $snippet "position" } " provides the " { $link audio-position } "." } 
+    { { $snippet "position" } " provides the " { $link audio-position } "." }
     { { $snippet "gain" } " provides the " { $link audio-gain } "." }
     { { $snippet "velocity" } " provides the " { $link audio-velocity } "." }
     { { $snippet "relative?" } " provides the " { $link audio-relative? } " value." }
index 7c956b0ed2203512c35df32ac269b011ddb1f149..00c677b04e862166ac229d4db7be436878fb913e 100644 (file)
@@ -4,10 +4,10 @@ USING: help.syntax help.markup cpu.8080.emulator ;
 IN: balloon-bomber
 
 HELP: run-balloon
-{ $description 
+{ $description
 "Run the Balloon Bomber emulator in a new window." $nl
 { $link rom-root } " must be set to the directory containing the "
-"location of the Balloon Bomber ROM files. See " 
+"location of the Balloon Bomber ROM files. See "
 { $link { "balloon-bomber" "balloon-bomber" } } "  for details."
 } ;
 
@@ -24,9 +24,9 @@ ARTICLE: { "balloon-bomber" "balloon-bomber" } "Balloon Bomber Emulator"
   "ballbomb/tn04"
   "ballbomb/tn05-1"
 }
-"These are the same ROM files as used by MAME. To run the game use the " 
+"These are the same ROM files as used by MAME. To run the game use the "
 { $link run-balloon } " word." $nl
-"Keys:" 
+"Keys:"
 { $table
   { "Backspace" "Insert Coin" }
   { "1" "1 Player" }
index 1df485a73db210095d5c6a841b01f361a8065ed0..5ebd601548a7da65670e820dae2d5b4f6cb54e3b 100644 (file)
@@ -4,10 +4,10 @@ USING: assocs help.markup help.syntax kernel math sequences strings ;
 IN: bitcoin.client
 
 HELP: bitcoin-server
-{ $values 
-  { "string" string } 
+{ $values
+  { "string" string }
 }
-{ $description 
+{ $description
     "Returns the hostname of the json-rpc server for the bitcoin client. "
     "This defaults to 'localhost' or the value of the 'bitcoin-server' "
     "variable."
@@ -15,10 +15,10 @@ HELP: bitcoin-server
 { $see-also bitcoin-port bitcoin-user bitcoin-password } ;
 
 HELP: bitcoin-port
-{ $values 
-  { "n" number } 
+{ $values
+  { "n" number }
 }
-{ $description 
+{ $description
     "Returns the port of the json-rpc server for the bitcoin client. "
     "This defaults to '8332' or the value of the 'bitcoin-port' "
     "variable."
@@ -26,10 +26,10 @@ HELP: bitcoin-port
 { $see-also bitcoin-server bitcoin-user bitcoin-password } ;
 
 HELP: bitcoin-user
-{ $values 
-  { "string" string } 
+{ $values
+  { "string" string }
 }
-{ $description 
+{ $description
     "Returns the username required to authenticate with the json-rpc "
     "server for the bitcoin client. This defaults to empty or the "
     "value of the 'bitcoin-user' variable."
@@ -37,10 +37,10 @@ HELP: bitcoin-user
 { $see-also bitcoin-port bitcoin-server bitcoin-password } ;
 
 HELP: bitcoin-password
-{ $values 
-  { "string" string } 
+{ $values
+  { "string" string }
 }
-{ $description 
+{ $description
     "Returns the password required to authenticate with the json-rpc "
     "server for the bitcoin client. This returns the "
     "value of the 'bitcoin-password' variable."
@@ -48,70 +48,70 @@ HELP: bitcoin-password
 { $see-also bitcoin-port bitcoin-server bitcoin-user } ;
 
 HELP: get-addresses-by-label
-{ $values 
-  { "label" string } 
-  { "seq" sequence } 
+{ $values
+  { "label" string }
+  { "seq" sequence }
 }
-{ $description 
+{ $description
     "Returns the list of addresses with the given label."
 } ;
 
 HELP: get-balance
-{ $values 
-  { "n" number } 
+{ $values
+  { "n" number }
 }
-{ $description 
+{ $description
     "Returns the server's available balance."
 } ;
 
 HELP: get-block-count
-{ $values 
-  { "n" number } 
+{ $values
+  { "n" number }
 }
-{ $description 
+{ $description
     "Returns the number of blocks in the longest block chain."
 } ;
 
 HELP: get-block-number
-{ $values 
-  { "n" number } 
+{ $values
+  { "n" number }
 }
-{ $description 
+{ $description
     "Returns the block number of the latest block in the longest block chain."
 } ;
 
 HELP: get-connection-count
-{ $values 
-  { "n" number } 
+{ $values
+  { "n" number }
 }
-{ $description 
+{ $description
     "Returns the number of connections to other nodes."
 } ;
 
 HELP: get-difficulty
-{ $values 
-  { "n" number } 
+{ $values
+  { "n" number }
 }
-{ $description 
+{ $description
     "Returns the proof-of-work difficulty as a multiple of the minimum "
     "difficulty."
 } ;
 
 HELP: get-generate
-{ $values 
-  { "?" boolean } 
+{ $values
+  { "?" boolean }
 }
-{ $description 
+{ $description
     "Returns true if the server is trying to generate bitcoins, false "
     "otherwise."
 } ;
 
 HELP: set-generate
-{ $values 
-  { "gen" boolean } 
-  { "n" number } 
+{ $values
+  { "gen" boolean }
+  { "n" number }
 }
-{ $description 
+{ $description
     "If 'gen' is true, the server starts generating bitcoins. If 'gen' is "
      "'false' then the server stops generating bitcoins. 'n' is the number "
      "of CPU's to use while generating. A value of '-1' means use all the "
@@ -119,106 +119,106 @@ HELP: set-generate
 } ;
 
 HELP: get-info
-{ $values 
+{ $values
   { "result" assoc }
 }
-{ $description 
+{ $description
     "Returns an assoc containing server information."
 } ;
 
 HELP: get-label
-{ $values 
-  { "address" string } 
-  { "label" string } 
+{ $values
+  { "address" string }
+  { "label" string }
 }
-{ $description 
+{ $description
     "Returns the label associated with the given address."
 } ;
 
 HELP: set-label
-{ $values 
-  { "address" string } 
-  { "label" string } 
+{ $values
+  { "address" string }
+  { "label" string }
 }
-{ $description 
+{ $description
     "Sets the label associateed with the given address."
 } ;
 
 HELP: remove-label
-{ $values 
-  { "address" string } 
+{ $values
+  { "address" string }
 }
-{ $description 
+{ $description
     "Removes the label associated with the given address."
 } ;
 
 HELP: get-new-address
-{ $values 
-  { "address" string } 
+{ $values
+  { "address" string }
 }
-{ $description 
+{ $description
     "Returns a new bitcoin address for receiving payments."
 } ;
 
 HELP: get-new-labelled-address
-{ $values 
-  { "label" string } 
-  { "address" string } 
+{ $values
+  { "label" string }
+  { "address" string }
 }
-{ $description 
+{ $description
     "Returns a new bitcoin address for receiving payments. The given "
     "label is associated with the new address."
 } ;
 
 HELP: get-received-by-address
-{ $values 
-  { "address" string } 
+{ $values
+  { "address" string }
   { "amount" number }
 }
-{ $description 
+{ $description
     "Returns the total amount received by the address in transactions "
     "with at least one confirmation."
 } ;
 
 HELP: get-confirmed-received-by-address
-{ $values 
-  { "address" string } 
+{ $values
+  { "address" string }
   { "minconf" number }
   { "amount" number }
 }
-{ $description 
+{ $description
     "Returns the total amount received by the address in transactions "
     "with at least 'minconf' confirmations."
 } ;
 
 HELP: get-received-by-label
-{ $values 
-  { "label" string } 
+{ $values
+  { "label" string }
   { "amount" number }
 }
-{ $description 
+{ $description
     "Returns the total amount received by addresses with 'label' in transactions "
     "with at least one confirmation."
 } ;
 
 HELP: get-confirmed-received-by-label
-{ $values 
-  { "label" string } 
+{ $values
+  { "label" string }
   { "minconf" number }
   { "amount" number }
 }
-{ $description 
+{ $description
     "Returns the total amount received by the addresses with 'label' in transactions "
     "with at least 'minconf' confirmations."
 } ;
 
 HELP: list-received-by-address
-{ $values 
-  { "minconf" number } 
+{ $values
+  { "minconf" number }
   { "include-empty" boolean }
   { "seq" sequence }
 }
-{ $description 
+{ $description
     "Return a sequence containing an assoc of data about the payments an "
     "address has received. 'include-empty' indicates whether addresses that "
     "haven't received any payments should be included. 'minconf' is the "
@@ -226,12 +226,12 @@ HELP: list-received-by-address
 } ;
 
 HELP: list-received-by-label
-{ $values 
-  { "minconf" number } 
+{ $values
+  { "minconf" number }
   { "include-empty" boolean }
   { "seq" sequence }
 }
-{ $description 
+{ $description
     "Return a sequence containing an assoc of data about the payments that "
     "addresses with the given label have received. 'include-empty' "
     " indicates whether addresses that "
@@ -240,32 +240,30 @@ HELP: list-received-by-label
 } ;
 
 HELP: send-to-address
-{ $values 
-  { "address" string } 
+{ $values
+  { "address" string }
   { "amount" number }
   { "?" boolean }
 }
-{ $description 
+{ $description
     "Sends 'amount' from the server's available balance to 'address'. "
     "'amount' is rounded to the nearest 0.01. Returns a boolean indicating "
     "if the call succeeded."
 } ;
 
 HELP: stop
-{ $description 
+{ $description
     "Stops the bitcoin server."
 } ;
 
 HELP: list-transactions
-{ $values 
-  { "count" number } 
+{ $values
+  { "count" number }
   { "include-generated" boolean }
   { "seq" sequence }
 }
-{ $description 
+{ $description
     "Return's a sequence containing up to 'count' most recent transactions."
     "This requires a patched bitcoin server so may not work with old or unpatched "
     "servers."
 } ;
-
-
index c11c05a2e2aac273606eaf6ecbb4d1b98fbd3a85..e7cec42589844f7613d9f1955dde753798c2e105 100644 (file)
@@ -3,7 +3,7 @@
 
 USING: help.syntax help.markup brainfuck strings ;
 
-IN: brainfuck 
+IN: brainfuck
 
 HELP: run-brainfuck
 { $values { "code" string } }
@@ -45,5 +45,5 @@ HELP: run-brainfuck
 
 HELP: get-brainfuck
 { $values { "code" string } { "result" string } }
-{ $description "Returns the output from a brainfuck program as a result string." }  
+{ $description "Returns the output from a brainfuck program as a result string." }
 { $see-also run-brainfuck } ;
index f40e4f7e69b186e6b9a8a3863582256712c1b3fe..ed8af7ad357d7382c09bb2d8e9e6725f1981ebdc 100644 (file)
@@ -20,5 +20,3 @@ HELP: cond-case
         "zero"
     }
 } ;
-
-
index d1f90b6400e9156333c9b04f7ad1de3356308693..33a1f2d5e81fcdcfe28606846eeeaad635b18be8 100644 (file)
@@ -7,10 +7,10 @@ IN: cpu.8080
 ARTICLE: { "cpu-8080" "cpu-8080" } "Intel 8080 CPU Emulator"
 "The cpu-8080 library provides an emulator for the Intel 8080 CPU"
 " instruction set. It is complete enough to emulate some 8080"
-" based arcade games." $nl 
+" based arcade games." $nl
 "The emulated CPU can load 'ROM' files from disk using the "
 { $link load-rom } " and " { $link load-rom* } " words. These expect "
 "the " { $link rom-root } " variable to be set to the path "
 "containing the ROM file's." ;
 
-ABOUT: { "cpu-8080" "cpu-8080" } 
+ABOUT: { "cpu-8080" "cpu-8080" }
index da2e1f318be0793b91e5eaf041ad74b0c7481d96..014df251f1d114ef972ed3e17521d49c40ca645b 100644 (file)
@@ -3,10 +3,10 @@
 USING: help.markup help.syntax sequences strings ;
 IN: cpu.8080.emulator
 
-HELP: load-rom 
+HELP: load-rom
 { $values { "filename" string } { "cpu" cpu } }
-{ $description 
-"Read the ROM file into the cpu's memory starting at address 0000. " 
+{ $description
+"Read the ROM file into the cpu's memory starting at address 0000. "
 "The filename is relative to the path stored in the " { $link rom-root }
 " variable. An exception is thrown if this variable is not set."
 }
@@ -14,7 +14,7 @@ HELP: load-rom
 
 HELP: load-rom*
 { $values { "seq" sequence } { "cpu" cpu } }
-{ $description 
+{ $description
 "Loads one or more ROM files into the cpu's memory. Each file is "
 "loaded at a particular starting address. 'seq' is a sequence of "
 "2 element arrays. The first element is the address and the second "
@@ -28,7 +28,7 @@ HELP: load-rom*
 { $see-also load-rom } ;
 
 HELP: rom-root
-{ $description 
+{ $description
 "Holds the path where the ROM files are stored. Used for expanding "
 "the relative filenames passed to " { $link load-rom } " and "
 { $link load-rom* } "."
index 7edd6d7e479bbec3eb271adc41cc66fc3a4c04fb..768f0b7b85db74bd023f6336e43a17956b3563a5 100644 (file)
@@ -3,4 +3,4 @@ IN: fonts.syntax
 
 HELP: FONT:
 { $syntax "\"testing\" <label> FONT: 18 serif bold ... ;" }
-{ $description "Used after a gadget to change font settings.  Attributes can be in any order: the first number is set as the size, the style attributes like bold and italic will set the bold? and italic? slots, and font-names like serif or monospace will set the name slot." } ;
\ No newline at end of file
+{ $description "Used after a gadget to change font settings.  Attributes can be in any order: the first number is set as the size, the style attributes like bold and italic will set the bold? and italic? slots, and font-names like serif or monospace will set the name slot." } ;
index 9fa51c4936aaf6979ebc3330fe70a851493c5f52..033b163941c0e5fb57dcb0fd7600f65c2db47204 100644 (file)
@@ -65,4 +65,3 @@ HELP: push-current-model
 HELP: line>obj
 { $values { "line" string } }
 { $description "Process a line from the object file within the current parsing context." } ;
-
index c169ec8b5dd05e42fc8a9886a45e6889aa84c659..b1b94f435f0507d086ca8d2c2842cfca120d4445 100644 (file)
@@ -37,7 +37,7 @@ HELP: tick-game-world
 { game-world begin-game-world end-game-world tick-game-world } related-words
 
 ARTICLE: "game.worlds" "Game worlds"
-"The " { $vocab-link "game.worlds" } " vocabulary provides a " { $link world } " subclass that integrates with " { $vocab-link "game.loop" } " and optionally " { $vocab-link "game.input" } " and " { $vocab-link "audio.engine" } " to quickly provide game infrastructure." 
+"The " { $vocab-link "game.worlds" } " vocabulary provides a " { $link world } " subclass that integrates with " { $vocab-link "game.loop" } " and optionally " { $vocab-link "game.input" } " and " { $vocab-link "audio.engine" } " to quickly provide game infrastructure."
 { $subsections
     game-world
     game-attributes
index faab60998d4a66ce23ee16765a2d34553f0051a7..6eec21913177e987372f9568a05b21dc4677b6b9 100644 (file)
@@ -104,7 +104,7 @@ HELP: buffer-upload-pattern
 { $class-description { $snippet "buffer-upload-pattern" } " values aid the graphics driver in optimizing access to " { $link buffer } " objects by declaring the frequency with which the buffer will be supplied new data."
 { $list
 { { $link stream-upload } " declares that the buffer data will only be used a few times before being deallocated by " { $link dispose } " or replaced by " { $link allocate-buffer } "." }
-{ { $link static-upload } " declares that the buffer data will be provided once and accessed frequently without modification." } 
+{ { $link static-upload } " declares that the buffer data will be provided once and accessed frequently without modification." }
 { { $link dynamic-upload } " declares that the buffer data will be frequently modified." }
 }
 "A " { $snippet "buffer-upload-pattern" } " is only a declaration and does not actually control access to the underlying buffer data." } ;
@@ -114,7 +114,7 @@ HELP: buffer-usage-pattern
 { $list
 { { $link draw-usage } " declares that the buffer will be supplied with data from CPU memory and read from by the GPU for vertex or texture image data." }
 { { $link read-usage } " declares that the buffer will be supplied with data from other GPU resources and read from primarily by the CPU." }
-{ { $link copy-usage } " declares that the buffer will both receive and supply data primarily for other GPU resources." } 
+{ { $link copy-usage } " declares that the buffer will both receive and supply data primarily for other GPU resources." }
 }
 "A " { $snippet "buffer-usage-pattern" } " is only a declaration and does not actually control access to the underlying buffer data." } ;
 
index d4538d9bde2b53b606864ae2c78a12aeeafd2470..ae842fba8194795dba19c7fb1353d0b695aabc14 100644 (file)
@@ -42,7 +42,7 @@ HELP: <renderbuffer>
     { "component-order" component-order } { "component-type" component-type } { "samples" { $maybe integer } } { "dim" { $maybe sequence } }
     { "renderbuffer" renderbuffer }
 }
-{ $description "Creates a new " { $link renderbuffer } " object. If " { $snippet "samples" } " is not " { $link f } ", it specifies the multisampling level to use. If " { $snippet "dim" } " is not " { $link f } ", image memory of the given dimensions will be allocated for the renderbuffer; otherwise, memory will have to be allocated separately with " { $link allocate-renderbuffer } "." } 
+{ $description "Creates a new " { $link renderbuffer } " object. If " { $snippet "samples" } " is not " { $link f } ", it specifies the multisampling level to use. If " { $snippet "dim" } " is not " { $link f } ", image memory of the given dimensions will be allocated for the renderbuffer; otherwise, memory will have to be allocated separately with " { $link allocate-renderbuffer } "." }
 { $notes "Renderbuffer objects require OpenGL 3.0 or one of the " { $snippet "GL_ARB_framebuffer_object" } " or " { $snippet "GL_EXT_framebuffer_object" } " extensions. Multisampled renderbuffers require OpenGL 3.0 or one of the " { $snippet "GL_ARB_framebuffer_object" } " or " { $snippet "GL_EXT_framebuffer_multisample" } " extensions." } ;
 
 HELP: <system-attachment>
index 4891a2601acdac4041bc95b0803a4f5755ad7eb6..bd9d76822633eb7613f236592a3433aa3674737e 100644 (file)
@@ -62,7 +62,7 @@ $nl
     { "Boolean vector types: " { $link bvec2-uniform } ", " { $link bvec3-uniform } ", " { $link bvec4-uniform } }
     }
 }
-{ "Matrix uniforms take their values either from row-major Factor " { $link sequence } "s of sequences of floats, or from " { $link alien } "s or " { $link float-array } "s referencing packed column-major arrays of floats. Matrix types are:" 
+{ "Matrix uniforms take their values either from row-major Factor " { $link sequence } "s of sequences of floats, or from " { $link alien } "s or " { $link float-array } "s referencing packed column-major arrays of floats. Matrix types are:"
     { $list
     { { $link mat2-uniform } ", " { $link mat2x3-uniform } ", " { $link mat2x4-uniform } }
     { { $link mat3x2-uniform } ", " { $link mat3-uniform } ", " { $link mat3x4-uniform } }
@@ -105,7 +105,7 @@ HELP: index-elements
 { $list
 { "The " { $snippet "ptr" } " slot contains a " { $link byte-array } ", " { $link alien } ", or " { $link buffer-ptr } " value referencing the beginning of the index array." }
 { "The " { $snippet "count" } " slot contains an " { $link integer } " value specifying the number of indexes to supply from the array." }
-{ "The " { $snippet "index-type" } " slot contains an " { $link index-type } " value specifying whether the array consists of " { $link ubyte-indexes } ", " { $link ushort-indexes } ", or " { $link uint-indexes } "." } 
+{ "The " { $snippet "index-type" } " slot contains an " { $link index-type } " value specifying whether the array consists of " { $link ubyte-indexes } ", " { $link ushort-indexes } ", or " { $link uint-indexes } "." }
 } } ;
 
 HELP: index-range
@@ -199,9 +199,9 @@ HELP: primitive-mode
 { { $link points-mode } " causes each element to generate a point." }
 { { $link lines-mode } " causes each pair of elements to generate a disconnected line." }
 { { $link line-strip-mode } " causes each consecutive pair of elements to generate a connected strip of lines." }
-{ { $link line-loop-mode } " causes each consecutive pair of elements to generate a connected loop of lines, with an extra line connecting the last and first elements." } 
+{ { $link line-loop-mode } " causes each consecutive pair of elements to generate a connected loop of lines, with an extra line connecting the last and first elements." }
 { { $link triangles-mode } " causes every 3 elements to generate an independent triangle." }
-{ { $link triangle-strip-mode } " causes every consecutive group of 3 elements to generate a connected strip of triangles." } 
+{ { $link triangle-strip-mode } " causes every consecutive group of 3 elements to generate a connected strip of triangles." }
 { { $link triangle-fan-mode } " causes a triangle to be generated from the first element and every subsequent consecutive pair of elements in a fan pattern." } } ;
 
 { primitive-mode points-mode lines-mode line-strip-mode line-loop-mode triangles-mode triangle-strip-mode triangle-fan-mode } related-words
index 3ed53c27afd44f915a05df1cd45fe01ea7f0c97e..13bdef1078c057c65cf88a1e426598135120d30f 100644 (file)
@@ -20,7 +20,7 @@ HELP: <shader-instance>
 HELP: <multi-vertex-array>
 { $values
     { "vertex-formats" "a list of " { $link buffer-ptr } "/" { $link vertex-format } " pairs" }
-    { "program-instance" program-instance } 
+    { "program-instance" program-instance }
     { "vertex-array" vertex-array }
 }
 { $description "Creates a new " { $link vertex-array } " to feed data to " { $snippet "program-instance" } " from the set of " { $link buffer } "s specified in " { $snippet "vertex-formats" } ". The first element of each pair in " { $snippet "vertex-formats" } " can be either a " { $link buffer-ptr } " or a " { $link buffer } "; in the latter case, vertex data in the associated format is read from the beginning of the buffer." } ;
index 238451757a666d43032a946f281061b08be53d0b..43d9fc67694cdb2bd0e49d63bc15267fa3f1775b 100644 (file)
@@ -327,84 +327,84 @@ HELP: func-zero
 
 HELP: get-blend-state
 { $values
-    
+
     { "blend-state" blend-state }
 }
 { $description "Retrieves the current GPU " { $link blend-state } "." } ;
 
 HELP: get-depth-range-state
 { $values
-    
+
     { "depth-range-state" depth-range-state }
 }
 { $description "Retrieves the current GPU " { $link depth-range-state } "." } ;
 
 HELP: get-depth-state
 { $values
-    
+
     { "depth-state" depth-state }
 }
 { $description "Retrieves the current GPU " { $link depth-state } "." } ;
 
 HELP: get-line-state
 { $values
-    
+
     { "line-state" line-state }
 }
 { $description "Retrieves the current GPU " { $link line-state } "." } ;
 
 HELP: get-mask-state
 { $values
-    
+
     { "mask-state" mask-state }
 }
 { $description "Retrieves the current GPU " { $link mask-state } "." } ;
 
 HELP: get-multisample-state
 { $values
-    
+
     { "multisample-state" multisample-state }
 }
 { $description "Retrieves the current GPU " { $link multisample-state } "." } ;
 
 HELP: get-point-state
 { $values
-    
+
     { "point-state" point-state }
 }
 { $description "Retrieves the current GPU " { $link point-state } "." } ;
 
 HELP: get-scissor-state
 { $values
-    
+
     { "scissor-state" scissor-state }
 }
 { $description "Retrieves the current GPU " { $link scissor-state } "." } ;
 
 HELP: get-stencil-state
 { $values
-    
+
     { "stencil-state" stencil-state }
 }
 { $description "Retrieves the current GPU " { $link stencil-state } "." } ;
 
 HELP: get-triangle-cull-state
 { $values
-    
+
     { "triangle-cull-state" triangle-cull-state }
 }
 { $description "Retrieves the current GPU " { $link triangle-cull-state } "." } ;
 
 HELP: get-triangle-state
 { $values
-    
+
     { "triangle-state" triangle-state }
 }
 { $description "Retrieves the current GPU " { $link triangle-state } "." } ;
 
 HELP: get-viewport-state
 { $values
-    
+
     { "viewport-state" viewport-state }
 }
 { $description "Retrieves the current GPU " { $link viewport-state } "." } ;
@@ -552,8 +552,8 @@ HELP: triangle-cull
 { $class-description "The " { $snippet "cull" } " slot of the " { $link triangle-cull-state } " determines which triangle faces are culled, if any."
 { $list
 { { $link cull-all } " culls all triangles." }
-{ { $link cull-front } " culls front-facing triangles." } 
-{ { $link cull-back } " culls back-facing triangles." } 
+{ { $link cull-front } " culls front-facing triangles." }
+{ { $link cull-back } " culls back-facing triangles." }
 } } ;
 
 HELP: triangle-cull-state
index 09906d623a32edfe0c4134bc941fa1700c37474d..2a69302981d0612dd2199b55eac2ac66b952bac8 100644 (file)
@@ -123,7 +123,7 @@ HELP: cube-map-axis
 HELP: cube-map-face
 { $class-description "A " { $snippet "cube-map-face" } " tuple references a single face of a " { $link texture-cube-map } " object for use with " { $link allocate-texture } ", " { $link update-texture } ", or " { $link read-texture } "."
 { $list
-{ "The " { $snippet "texture" } " slot indicates the cube map texture being referenced." } 
+{ "The " { $snippet "texture" } " slot indicates the cube map texture being referenced." }
 { "The " { $snippet "axis" } " slot indicates which face to reference: " { $link +X } ", "  { $link +Y } ", " { $link +Z } ", " { $link -X } ", " { $link -Y } ", or " { $link -Z } "." }
 } } ;
 
index b2fa334f02dee0bf2badd18247aab18c8a502aee..83b047ac9d01d3cd786e81c3d62d0ad1e6daaa76 100644 (file)
@@ -5,7 +5,7 @@ IN: graphviz.dot
 
 HELP: write-dot
 { $values
-    { "graph" graph } { "path" "a pathname string" } { "encoding" "a character encoding" }    
+    { "graph" graph } { "path" "a pathname string" } { "encoding" "a character encoding" }
 }
 { $description "Converts " { $snippet "graph" } " into its equivalent DOT code, saving the file to " { $snippet "path" } " using the given character " { $snippet "encoding" } "." } ;
 
index a982d13823da29f8a403fbdd52c5e15a44d55440..b9aff1a19e947e080dab6e39e39020c3c6c6b3ed 100644 (file)
@@ -5,8 +5,8 @@ id3.private strings ;
 IN: id3
 
 HELP: mp3>id3
-{ $values 
-    { "path" "a path string" } 
+{ $values
+    { "path" "a path string" }
     { "id3/f" "a tuple storing ID3v2 metadata or f" } }
     { $description "Return a tuple containing the ID3 information parsed out of the MP3 file, or " { $link f } " if no metadata is present. Words to access the ID3v1 information are here:"
         { $list
index c108dff7830dcceacd275a430502b029cf826826..9c7112e47b25602c70a8af2d786d0dfcb6790023 100644 (file)
@@ -33,4 +33,3 @@ HELP: ini>string
 { $description
     "Encodes the specified " { $link hashtable } " as an INI configuration."
 } ;
-
index e55a92024797e3fcf8206d683c1023331f4d1dd3..837496564a369dbca531cdc5ad49b22d87d9b184 100644 (file)
@@ -1,13 +1,13 @@
 ! Copyright (C) 2007 Chris Double.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: help.syntax help.markup cpu.8080.emulator ;
-IN: lunar-rescue 
+IN: lunar-rescue
 
-HELP: run-lunar 
-{ $description 
+HELP: run-lunar
+{ $description
 "Run the Lunar Rescue emulator in a new window." $nl
 { $link rom-root } " must be set to the directory containing the "
-"location of the Lunar Rescue ROM files. See " 
+"location of the Lunar Rescue ROM files. See "
 { $link { "lunar-rescue" "lunar-rescue" } } "  for details."
 } ;
 
@@ -25,9 +25,9 @@ ARTICLE: { "lunar-rescue" "lunar-rescue" } "Lunar Rescue Emulator"
   "lrescue/lrescue.5"
   "lrescue/lrescue.6"
 }
-"These are the same ROM files as used by MAME. To run the game use the " 
+"These are the same ROM files as used by MAME. To run the game use the "
 { $link run-lunar } " word." $nl
-"Keys:" 
+"Keys:"
 { $table
   { "Backspace" "Insert Coin" }
   { "1" "1 Player" }
index 586a6d497104f884479e501a8b006c105c87b202..2d03e931f9cc26a942308de6d4c4e89aaf781e54 100644 (file)
@@ -17,4 +17,3 @@ HELP: exp-int
 HELP: stirling-fact
 { $values { "n" integer } { "fact" integer } }
 { $description "James Stirling's factorial approximation." } ;
-
index 48786b5bddbd9ffae1c6b3dbe61ec1c5a8c9c48a..384645fa1483de9c9222b65a4435044629e6609f 100644 (file)
@@ -6,10 +6,9 @@ USING: help.syntax help.markup kernel assocs sequences quotations ;
 IN: math.binpack
 
 HELP: binpack
-{ $values { "items" sequence } { "#bins" "number of bins" } { "bins" "packed bins" } } 
+{ $values { "items" sequence } { "#bins" "number of bins" } { "bins" "packed bins" } }
 { $description "Packs a sequence of numbers into the specified number of bins." } ;
 
 HELP: map-binpack
-{ $values { "items" sequence } { "quot" { $quotation ( item -- weight ) } } { "#bins" "number of bins" } { "bins" "packed bins" } } 
+{ $values { "items" sequence } { "quot" { $quotation ( item -- weight ) } } { "#bins" "number of bins" } { "bins" "packed bins" } }
 { $description "Packs a sequence of items into the specified number of bins, using the quotation to determine the weight." } ;
-
index 6993c79bdba83b96d0941d86af7fbea0c5282086..30c38a32fd4a510553bb0573d941ada4285fe300 100644 (file)
@@ -25,7 +25,7 @@ ARTICLE: "math.blas-types" "BLAS interface types"
     double-blas-matrix
     complex-float-blas-matrix
     complex-double-blas-matrix
-} 
+}
 "There are BOA constructors for all vector and matrix types, which provide the most flexibility in specifying memory layout:"
 { $subsections
     <float-blas-vector>
index c3f1dda5ae555977eaba657a987fe196585921f2..0eaaf9b382bddf1eb7b8b7bef333bcaf1eedbdcf 100644 (file)
@@ -20,7 +20,7 @@ ARTICLE: "math.blas.vectors" "BLAS interface vector operations"
     V/n
     Vneg
 }
-"Vector addition:" 
+"Vector addition:"
 { $subsections
     n*V+V!
     n*V+V
@@ -165,4 +165,3 @@ HELP: zvector{
     POSTPONE: svector{ POSTPONE: dvector{
     POSTPONE: cvector{ POSTPONE: zvector{
 } related-words
-
index 2273e7b83c3f467cc3421b3c09231fdc86b3e3f2..d477bee68d42f2ce2b9b6672d148cdf1024e3b7b 100644 (file)
@@ -5,7 +5,7 @@ IN: math.derivatives.syntax
 
 HELP: DERIVATIVE:
 { $description "Defines the derivative of a word by setting its " { $snippet "derivative" } " word property.  Reads a word followed by " { $snippet "n" } " quotations, giving the " { $snippet "n" } " partial derivatives of the word with respect to each of its arguments successively.  Each quotation should take " { $snippet "n + 1" } " inputs, where the first input is an increment and the last " { $snippet "n" } " inputs are the point at which to evaluate the derivative.  The derivative should be a linear function of the increment, and should have the same number of outputs as the original word." }
-{ $examples 
+{ $examples
     { $unchecked-example "USING: math math.functions math.derivatives.syntax ;"
     "DERIVATIVE: sin [ cos * ]"
     "DERIVATIVE: * [ nip * ] [ drop * ]" "" }
index 67b3d6ae97eee8b5459a9042415723b975465aa6..3dcce95dcb6fe966880156b2cc6c1d3dc54c903c 100644 (file)
@@ -27,12 +27,12 @@ HELP: dual-op
     { "word" word }
 }
 { $description "Similar to " { $link execute } ", but promotes word to operate on duals." }
-{ $notes "Uses the derivative word-prop, which holds a list of quotations giving the partial derivatives of the word with respect to each of its arguments. This can be set using " { $link POSTPONE: DERIVATIVE: } ". Once a derivative has been defined for a word, dual-op makes it easy to extend the definition to dual numbers." } 
-{ $examples 
-    { $unchecked-example "USING: math math.dual math.derivatives.syntax math.functions ;" 
-    "DERIVATIVE: sin [ cos * ]" 
+{ $notes "Uses the derivative word-prop, which holds a list of quotations giving the partial derivatives of the word with respect to each of its arguments. This can be set using " { $link POSTPONE: DERIVATIVE: } ". Once a derivative has been defined for a word, dual-op makes it easy to extend the definition to dual numbers." }
+{ $examples
+    { $unchecked-example "USING: math math.dual math.derivatives.syntax math.functions ;"
+    "DERIVATIVE: sin [ cos * ]"
     "M: dual sin \\sin dual-op ;" "" }
-    { $unchecked-example "USING: math math.dual math.derivatives.syntax ;" 
+    { $unchecked-example "USING: math math.dual math.derivatives.syntax ;"
     "DERIVATIVE: * [ drop ] [ nip ]"
     ": d* ( x y -- x*y ) \ * dual-op ;" "" }
 } ;
index af76025072d966bba2be9b02376eadfcc1545dbb..3a2cec1609bd988c43cde93c761e9c181318e3e9 100644 (file)
@@ -9,16 +9,16 @@ HELP: sma
 
 HELP: ema
 { $values { "seq" sequence } { "n" "number of periods" } { "newseq" sequence } }
-{ $description 
-    "Returns the Exponential Moving Average with the specified periodicity, calculated by:\n" 
-    { $list 
+{ $description
+    "Returns the Exponential Moving Average with the specified periodicity, calculated by:\n"
+    { $list
         "A = 2.0 / (N + 1)"
         "EMA[t] = (A * SEQ[t]) + ((1-A) * EMA[t-1])" }
 } ;
 
 HELP: macd
 { $values { "seq" sequence } { "n1" "short number of periods" } { "n2" "long number of periods" } { "newseq" sequence } }
-{ $description 
+{ $description
     "Returns the Moving Average Converge of the sequence, calculated by:\n"
     { $list "MACD[t] = EMA2[t] - EMA1[t]" }
 } ;
index a9a4fd111fa03faab3e9c3024926dd33595069bd..32300747518b234e208677bc6ccff03fcae46f3b 100644 (file)
@@ -12,4 +12,3 @@ HELP: rev-haar
 { $description "Reverse Haar wavelet transform function." }
 { $notes "The sequence length should be a power of two." }
 { $examples { $example "USING: math.transforms.haar prettyprint ;" "{ 3 2 -1 -2 3 0 4 1 } rev-haar ." "{ 7 1 6 6 3 -5 4 2 }" } } ;
-
index c8963acdf815fb699d3f8bc31d31b0e56ec821f8..bcf3e77beab9148ac53c514b62dd5af816a0f9e2 100644 (file)
@@ -9,7 +9,7 @@ IN: memcached
 HELP: memcached-server
 { $var-description
     "Holds an " { $link inet } " object with the address of "
-    "an Memcached server." 
+    "an Memcached server."
 } ;
 
 HELP: with-memcached
@@ -120,4 +120,3 @@ HELP: m/quit
 { $description
     "Close the connection to the " { $link memcached-server } "."
 } ;
-
index 3e8e0e97bfc493e3272c90a4b130bc58f85138be..f5e58e16ebb5ee7db810a21bd5ff9f6d678ec971 100644 (file)
@@ -13,7 +13,7 @@ HELP: BEFORE:
 { $description "Defines a method on " { $snippet "generic" } " for " { $snippet "class" } " which executes the new " { $snippet "implementation" } " code, then invokes the parent class method on " { $snippet "generic" } "." } ;
 
 ARTICLE: "method-chains" "Method chaining syntax"
-"The " { $vocab-link "method-chains" } " vocabulary provides syntax for extending method implementations in class hierarchies." 
+"The " { $vocab-link "method-chains" } " vocabulary provides syntax for extending method implementations in class hierarchies."
 { $subsections
     POSTPONE: AFTER:
     POSTPONE: BEFORE:
index a2f4206db2f88e8ef9d8a78e9b6e6923e648429e..ef849e7460ee59901e5d1146eb4b0a000f774ae2 100644 (file)
@@ -54,7 +54,7 @@ HELP: >upsert
   "(inserts object identified by the update selector if it doesn't exist in the collection)" } ;
 
 HELP: PARTIAL?
-{ $values  
+{ $values
   { "value" "partial?" }
 }
 { $description "key which refers to a partially loaded object" } ;
@@ -169,7 +169,7 @@ HELP: hint
 
 HELP: lasterror
 { $values
-  
+
   { "error" "error message or f" }
 }
 { $description "Checks if the last operation resulted in an error on the MongoDB side"
@@ -188,14 +188,14 @@ HELP: limit
 
 HELP: load-collection-list
 { $values
-  
+
   { "collection-list" "list of collections in the current database" }
 }
 { $description "Returns a list of all collections that exist in the current database" } ;
 
 HELP: load-index-list
 { $values
-  
+
   { "index-list" "list of indexes" }
 }
 { $description "Returns a list of all indexes that exist in the current database" } ;
@@ -272,5 +272,3 @@ HELP: with-db
   { "quot" "quotation to execute with the given mdb instance as context" }
 }
 { $description "executes a quotation with the given mdb instance in its context" } ;
-
-
index 6a7439259689568c97e062c6a4f06c9f4c28afe1..17258e4026c209ebde0b403283bf627880d486ca 100644 (file)
@@ -24,4 +24,4 @@ ARTICLE: "mongodb" "MongoDB factor integration"
   "" }
 ;
 
-ABOUT: "mongodb"
\ No newline at end of file
+ABOUT: "mongodb"
index 406d7f291a7436c1afcdfbd9d3915eda4b7e43ad..da59c2c598e858b7f1d8d11f69f77e3d55e8d31a 100644 (file)
@@ -10,4 +10,3 @@ HELP: <ntp>
 { $description
     "Requests the time from the specified NTP time server."
 } ;
-
index b60fe1e307661a3c5effe3aba2aea5517258c23e..a4285c3b5b0b5e91b0c2b5abad9e4bc367c0ef74 100644 (file)
@@ -100,7 +100,7 @@ HELP: cl-kernel-name
 
 HELP: cl-marker
 { $values
-    
+
     { "event" cl-event }
 }
 { $description "Inserts a marker into the current command queue." } ;
@@ -124,7 +124,7 @@ HELP: cl-platform
 
 HELP: cl-platforms
 { $values
-    
+
     { "platforms" "sequence of cl-platform"}
 }
 { $description "Returns the platforms available for OpenCL computation on this hardware." } ;
index 3d223a54c9657d5aae1da19fdc074cf0fd0c3f2a..b77b38aaa315fb8fd3423715843177567605e79d 100644 (file)
@@ -12,4 +12,3 @@ H{ "foo" => 1 "bar" => 2 } ."""
 """H{ { "foo" 1 } { "bar" 2 } }""" }
 }
 ;
-
index be6c01aab80bc2606932d5dd1300f269d626a548..dd2bb0e2561bad1db935f05b4047f2da6b15cde9 100644 (file)
@@ -4,9 +4,9 @@ USING: help.syntax help.markup parser-combinators ;
 IN: parser-combinators.simple
 
 HELP: 'digit'
-{ $values 
+{ $values
   { "parser" "a parser object" } }
-{ $description 
+{ $description
     "Return a parser that consumes a single digit from "
     "the input string. The numeric value of the digit "
     " consumed is the result of the parse." }
@@ -14,18 +14,18 @@ HELP: 'digit'
 { $example "USING: lists.lazy parser-combinators parser-combinators.simple prettyprint ;" "\"123\" 'digit' parse-1 ." "1" } } ;
 
 HELP: 'integer'
-{ $values 
+{ $values
   { "parser" "a parser object" } }
-{ $description 
+{ $description
     "Return a parser that consumes an integer from "
     "the input string. The numeric value of the integer "
     " consumed is the result of the parse." }
 { $examples
 { $example "USING: lists.lazy parser-combinators parser-combinators.simple prettyprint ;" "\"123\" 'integer' parse-1 ." "123" } } ;
 HELP: 'string'
-{ $values 
+{ $values
   { "parser" "a parser object" } }
-{ $description 
+{ $description
     "Return a parser that consumes a string enclosed in "
     "quotations from the input string. The string value "
     " consumed is the result of the parse." }
@@ -33,9 +33,9 @@ HELP: 'string'
 { $example "USING: lists.lazy parser-combinators parser-combinators.simple prettyprint ;" "\"\\\"foo\\\"\" 'string' parse-1 ." "\"foo\"" } } ;
 
 HELP: 'bold'
-{ $values 
+{ $values
   { "parser" "a parser object" } }
-{ $description 
+{ $description
     "Return a parser that consumes a string enclosed in "
     "the '*' character from the input string. This is "
     "commonly used in markup languages to indicate bold "
@@ -44,9 +44,9 @@ HELP: 'bold'
 { $example "USING: kernel parser-combinators parser-combinators.simple prettyprint sequences ;" "\"*foo*\" 'bold' [ \"<strong>\" \"</strong>\" surround ] <@ parse-1 ." "\"<strong>foo</strong>\"" } ;
 
 HELP: 'italic'
-{ $values 
+{ $values
   { "parser" "a parser object" } }
-{ $description 
+{ $description
     "Return a parser that consumes a string enclosed in "
     "the '_' character from the input string. This is "
     "commonly used in markup languages to indicate italic "
@@ -55,9 +55,9 @@ HELP: 'italic'
 { $example "USING: parser-combinators parser-combinators.simple prettyprint ;" "\"_foo_\" 'italic' parse-1 ." "\"foo\"" }
 { $example "USING: kernel parser-combinators parser-combinators.simple prettyprint sequences ;" "\"_foo_\" 'italic' [ \"<emphasis>\" \"</emphasis>\" surround ] <@ parse-1 ." "\"<emphasis>foo</emphasis>\"" } } ;
 HELP: comma-list
-{ $values 
+{ $values
   { "element" "a parser object" } { "parser" "a parser object" } }
-{ $description 
+{ $description
     "Return a parser that parses comma separated lists of elements. "
     "'element' should be a parser that can parse the elements. The "
     "result of the parser is a sequence of the parsed elements." }
index aeb6d210f65752e049ab82a1035c735063309da2..f42e2210d48a0a21c76a578aabedd6f8442745b9 100644 (file)
@@ -6,14 +6,14 @@ IN: pop3
 
 HELP: <pop3-account>
 { $values
-    
+
     { "pop3-account" pop3-account }
 }
 { $description "creates a " { $link pop3-account } " object with defaults for the port and timeout slots." } ;
 
 HELP: account
 { $values
-    
+
     { "pop3-account" pop3-account }
 }
 { $description "You only need to call " { $link connect } " after calling this word to reconnect to the latest accessed POP3 account." }
@@ -40,7 +40,7 @@ HELP: >pwd
 
 HELP: capa
 { $values
-    
+
     { "array" array }
 }
 { $description "Queries the mail server capabilities, as described in RFC 2449. It is advised to check for command support before calling the appropriate words (e.g. TOP UIDL)." } ;
@@ -63,7 +63,7 @@ HELP: connect
 
 HELP: consolidate
 { $values
-    
+
     { "seq" sequence }
 }
 { $description "Builds a sequence of email tuples, iterating over each email top and consolidating its headers with its number, uidl, and size." } ;
@@ -76,14 +76,14 @@ HELP: delete
 
 HELP: headers
 { $values
-    
+
     { "assoc" assoc }
 }
 { $description "Gathers and associates the From:, Subject:, and To: headers of each message." } ;
 
 HELP: list
 { $values
-    
+
     { "assoc" assoc }
 }
 { $description "Lists each message with its number and size in bytes" } ;
@@ -136,7 +136,7 @@ HELP: reset
 
 HELP: count
 { $values
-    
+
     { "n" fixnum }
 }
 { $description "Gets the number of messages in the mailbox." } ;
@@ -157,7 +157,7 @@ HELP: uidl
 
 HELP: uidls
 { $values
-    
+
     { "assoc" assoc }
 }
 { $description "Gets the POP3 UIDL (Unique IDentification Listing) of every specific message in the mailbox together with its ordinal number. UIDL provides a mechanism that avoids numbering issues between POP3 sessions by assigning a permanent and unique ID for each message." } ;
@@ -299,7 +299,7 @@ $nl
     }
 }
 $nl
-"The messages marked for deletion are actually deleted only when " { $link close } " is called. This should be the last command you issue. " 
+"The messages marked for deletion are actually deleted only when " { $link close } " is called. This should be the last command you issue. "
 { $subsections close }
 { $examples
     { $code
index 6313e6b182e93b73a73e2cd8cba90f5c53ca748c..77e3bc863ab9e62439b6cc0af054653b593d61dc 100644 (file)
@@ -5,13 +5,13 @@ IN: progress-bars.models
 
 HELP: set-progress-bar
 { $values
-    { "ratio/float" "a real number between 0 and 1" }    
+    { "ratio/float" "a real number between 0 and 1" }
 }
 { $description "Sets the progress-bar model in the current scope to the percent that the task has been completed." } ;
 
 HELP: with-file-reader-progress
 { $values
-    { "path" "a pathname string" } { "encoding" "an encoding" } { "quot" quotation }    
+    { "path" "a pathname string" } { "encoding" "an encoding" } { "quot" quotation }
 }
 { $description "Opens a file for reading, displays a progress bar, and calls the quotation for processing the file. The progress bar will automtically update every 100 milliseconds, but only if the quotation yields (by calling " { $link yield } ") so that the UI has a chance to redraw." }
 { $examples
@@ -26,7 +26,7 @@ image binary [
 
 HELP: with-progress-bar
 { $values
-    { "quot" quotation }    
+    { "quot" quotation }
 }
 { $description "Makes a new model for a progress bar for a task that is 0% complete, sets this model in a dynamic variable in a new scope, and calls a quotation that has access to this model. Progress can be updated with " { $link set-progress-bar } "." } ;
 
index f3073e20a7d992f6371eec033652f25af5954216..45dd223e35b579afa9761afec1987cdb3ed7488d 100644 (file)
@@ -14,7 +14,7 @@ $nl
     { { $snippet "{ name attributes... }" } " - a slot which can hold any object, with optional attributes" }
     { { $snippet "{ name class attributes... }" } " - a slot specialized to a specific class, with optional attributes" }
 }
-"Slot attributes are lists of slot attribute specifiers followed by values; a slot attribute specifier is one of " { $link initial: } " or " { $link read-only } ". See " { $link "tuple-declarations" } " for details." } ; 
+"Slot attributes are lists of slot attribute specifiers followed by values; a slot attribute specifier is one of " { $link initial: } " or " { $link read-only } ". See " { $link "tuple-declarations" } " for details." } ;
 
 HELP: TUPLE:
 { $syntax """TUPLE: name slots ;
@@ -30,7 +30,7 @@ $nl
     { { $snippet "{ name attributes... }" } " - a slot which can hold any object, with optional attributes" }
     { { $snippet "{ name class attributes... }" } " - a slot specialized to a specific class, with optional attributes" }
 }
-"Slot attributes are lists of slot attribute specifiers followed by values; a slot attribute specifier is one of " { $link initial: } " or " { $link read-only } ". See " { $link "tuple-declarations" } " for details." } ; 
+"Slot attributes are lists of slot attribute specifiers followed by values; a slot attribute specifier is one of " { $link initial: } " or " { $link read-only } ". See " { $link "tuple-declarations" } " for details." } ;
 
 {
     POSTPONE: ROLE:
@@ -51,9 +51,9 @@ ARTICLE: "roles" "Roles"
 "The role superclass:"
 { $subsections role }
 "Syntax for making a new role:"
-{ $subsection POSTPONE: ROLE: } 
+{ $subsection POSTPONE: ROLE: }
 "Syntax for making tuples that use roles:"
-{ $subsection POSTPONE: TUPLE: } 
+{ $subsection POSTPONE: TUPLE: }
 "Errors with roles:"
 { $subsections multiple-inheritance-attempted role-slot-overlap } ;
 
index f4a5cbc1a1f508ffe0386734b2519fac0522ec82..1ed7a643c9fe731ce18c542708c4b42859ca8f14 100644 (file)
@@ -4,10 +4,10 @@ USING: assocs help.markup help.syntax kernel strings ;
 IN: s3
 
 HELP: buckets
-{ $values 
-  { "seq" "a sequence of " { $link bucket } " objects" } 
+{ $values
+  { "seq" "a sequence of " { $link bucket } " objects" }
 }
-{ $description 
+{ $description
     "Returns a list of " { $link bucket } " objects containing data on the buckets available on S3."}
 { $examples
   { $unchecked-example "USING: s3 ;" "buckets ." "{ }" }
@@ -15,52 +15,52 @@ HELP: buckets
 ;
 
 HELP: create-bucket
-{ $values 
-  { "bucket" string } 
+{ $values
+  { "bucket" string }
 }
-{ $description 
+{ $description
     "Creates a bucket with the given name."
-} 
+}
 { $examples
   { $unchecked-example "USING: s3 ;" "\"testbucket\" create-bucket" "" }
 }
 ;
 
 HELP: delete-bucket
-{ $values 
-  { "bucket" string } 
+{ $values
+  { "bucket" string }
 }
-{ $description 
+{ $description
     "Deletes the bucket with the given name."
-} 
+}
 { $examples
   { $unchecked-example "USING: s3 ;" "\"testbucket\" delete-bucket" "" }
 }
 ;
 
 HELP: keys
-{ $values 
-  { "bucket" string } 
-  { "seq" "a sequence of " { $link key } " objects"} 
+{ $values
+  { "bucket" string }
+  { "seq" "a sequence of " { $link key } " objects"}
 }
-{ $description 
+{ $description
     "Returns a sequence of " { $link key } " objects. Each object in the sequence has information about the keys contained within the bucket."
-} 
+}
 { $examples
   { $unchecked-example "USING: s3 ;" "\"testbucket\" keys . " "{ }" }
 }
 ;
 
 HELP: get-object
-{ $values 
+{ $values
   { "bucket" string }
   { "key" string }
   { "response" "The HTTP response object"}
   { "data" "The data returned from the http request"}
 }
-{ $description 
+{ $description
     "Does an HTTP request to retrieve the object in the bucket with the given key."
-} 
+}
 { $examples
   { $unchecked-example "USING: s3 ;" "\"testbucket\" \"mykey\" http-get " "" }
 }
@@ -74,14 +74,14 @@ HELP: put-object
   { "key" string }
   { "headers" assoc }
 }
-{ $description 
+{ $description
     "Stores the object under the key in the given bucket. The object has "
 "the given mimetype. 'headers' should contain key/values for any headers to "
 "be associated with the object. 'data' is any Factor object that can be "
 "used as the 'data' slot in <post-data>. If it's a <pathname> it stores "
 "the contents of the file. If it's a stream, it's the contents of the "
 "stream, etc."
-} 
+}
 { $examples
   { $unchecked-example "USING: s3 ;" "\"hello\" binary encode \"text/plain\" \"testbucket\" \"hello.txt\" H{ { \"x-amz-acl\" \"public-read\" } } put-object" "" }
   { $unchecked-example "USING: s3 ;" "\"hello.txt\" <pathname> \"text/plain\" \"testbucket\" \"hello.txt\" H{ { \"x-amz-acl\" \"public-read\" } } put-object" "" }
@@ -89,13 +89,13 @@ HELP: put-object
 ;
 
 HELP: delete-object
-{ $values 
+{ $values
   { "bucket" string }
   { "key" string }
 }
-{ $description 
+{ $description
     "Deletes the object in the bucket with the given key."
-} 
+}
 { $examples
   { $unchecked-example "USING: s3 ;" "\"testbucket\" \"mykey\" delete-object" "" }
 }
@@ -105,7 +105,7 @@ ARTICLE: "s3" "Amazon S3"
 "The " { $vocab-link "s3" } " vocabulary provides a wrapper to the Amazon "
 "Simple Storage Service API."
 $nl
-"To use the api you must set the variables " { $link key-id } " and " 
+"To use the api you must set the variables " { $link key-id } " and "
 { $link secret-key } " to your Amazon S3 key and secret key respectively. Once "
 "this is done you can call any of the words below."
 { $subsections buckets
index 550e05c7bde2e118a5d7775357f8195b2fc6121c..594b11532aebcd4dd1136745ebe2350168d9322c 100644 (file)
@@ -1,13 +1,13 @@
 ! Copyright (C) 2007 Chris Double.
 ! See http://factorcode.org/license.txt for BSD license.
 USING: help.syntax help.markup cpu.8080.emulator ;
-IN: space-invaders 
+IN: space-invaders
 
 HELP: run-invaders
-{ $description 
+{ $description
 "Run the Space Invaders emulator in a new window." $nl
 { $link rom-root } " must be set to the directory containing the "
-"location of the Space Invaders ROM files. See " 
+"location of the Space Invaders ROM files. See "
 { $link { "space-invaders" "space-invaders" } } "  for details."
 } ;
 
@@ -23,9 +23,9 @@ ARTICLE: { "space-invaders" "space-invaders" } "Space Invaders Emulator"
   "invaders/invaders.g"
   "invaders/invaders.h"
 }
-"These are the same ROM files as used by MAME. To run the game use the " 
+"These are the same ROM files as used by MAME. To run the game use the "
 { $link run-invaders } " word." $nl
-"Keys:" 
+"Keys:"
 { $table
   { "Backspace" "Insert Coin" }
   { "1" "1 Player" }
@@ -37,4 +37,4 @@ ARTICLE: { "space-invaders" "space-invaders" } "Space Invaders Emulator"
 "If you save the Factor image while a game is running, when you restart "
 "the image the game continues where it left off." ;
 
-ABOUT: { "space-invaders" "space-invaders" } 
+ABOUT: { "space-invaders" "space-invaders" }
index 202544b80abf3a729bd7e64fec1704798e79c128..53e40da21ef0251406ab266b217c87654805a765 100644 (file)
@@ -1,5 +1,5 @@
 USING: help.syntax help.markup assocs ;
-IN: trees.avl 
+IN: trees.avl
 
 HELP: AVL{
 { $syntax "AVL{ { key value }... }" }
index 68427b03fd255f0deb7ced6890b10d3ec791865b..f3f854c03cf9a6ae0f3a8a6ed907b0147e419f13 100644 (file)
@@ -1,5 +1,5 @@
 USING: help.syntax help.markup assocs ;
-IN: trees.splay 
+IN: trees.splay
 
 HELP: SPLAY{
 { $syntax "SPLAY{ { key value }... }" }
index bb64f8fed68caade85dcec59ab5ae8063c7efc54..c2934ef63aec0bfda1e81668f343e09ae3963f17 100644 (file)
@@ -7,18 +7,18 @@ HELP: reset-word-timer
 } ;
 
 HELP: add-timer
-{ $values { "word" word } } 
+{ $values { "word" word } }
 { $description "annotates the word with timing code which stores timing information globally. You can then view the info with print-word-timings"
 } ;
 
 HELP: add-timers
-{ $values { "vocab" string } } 
+{ $values { "vocab" string } }
 { $description "annotates all the words in the vocab with timer code. After profiling you can remove the annotations with reset-vocab"
 } ;
 
 
 HELP: reset-vocab
-{ $values { "vocab" string } } 
+{ $values { "vocab" string } }
 { $description "removes the annotations from all the words in the vocab"
 } ;
 
@@ -40,8 +40,8 @@ HELP: wordtimer-call
 { $description "Resets the wordtimer hash and runs the quotation. After the quotation has run it prints out the timed words"
 } ;
 
-    
+
 ARTICLE: "wordtimer" "Word Timer"
 "The " { $vocab-link "wordtimer" } " vocabulary measures accumulated execution time for words. If you just want to profile the accumulated time taken by all words in a vocab you can use " { $link profile-vocab } ". If you need more fine grained control then do the following: First annotate individual words with the " { $link add-timer } " word or whole vocabularies with " { $link add-timers } ". Then use " { $link wordtimer-call } " to invoke a quotation and print out the timings." ;
-    
+
 ABOUT: "wordtimer"