diff --git a/collects/data/scribblings/gvector.scrbl b/collects/data/scribblings/gvector.scrbl index 81cb92be60..70f6d18a3d 100644 --- a/collects/data/scribblings/gvector.scrbl +++ b/collects/data/scribblings/gvector.scrbl @@ -125,4 +125,4 @@ order, on each iteration. } -@close-eval[the-eval] \ No newline at end of file +@close-eval[the-eval] diff --git a/collects/data/scribblings/heap.scrbl b/collects/data/scribblings/heap.scrbl index 2013b7ae19..9f10378e1c 100644 --- a/collects/data/scribblings/heap.scrbl +++ b/collects/data/scribblings/heap.scrbl @@ -21,14 +21,14 @@ Binary heaps are a simple implementation of priority queues. Makes a new empty heap using @racket[<=?] to order elements. @examples[#:eval the-eval -(define a-heap-of-strings (make-heap string<=?)) -a-heap-of-strings -@code:comment{With structs:} -(struct node (name val)) -(define (node<=? x y) - (<= (node-val x) (node-val y))) -(define a-heap-of-nodes (make-heap node<=?)) -a-heap-of-nodes] + (define a-heap-of-strings (make-heap string<=?)) + a-heap-of-strings + @code:comment{With structs:} + (struct node (name val)) + (define (node<=? x y) + (<= (node-val x) (node-val y))) + (define a-heap-of-nodes (make-heap node<=?)) + a-heap-of-nodes] } @defproc[(heap? [x any/c]) boolean?]{ @@ -36,17 +36,17 @@ a-heap-of-nodes] Returns @racket[#t] if @racket[x] is a heap, @racket[#f] otherwise. @examples[#:eval the-eval -(heap? (make-heap <=)) -(heap? "I am not a heap")] + (heap? (make-heap <=)) + (heap? "I am not a heap")] } @defproc[(heap-count [h heap?]) exact-nonnegative-integer?]{ Returns the number of elements in the heap. @examples[#:eval the-eval -(define a-heap (make-heap <=)) -(heap-add-all! a-heap '(7 3 9 1 13 21 15 31)) -(heap-count a-heap) + (define a-heap (make-heap <=)) + (heap-add-all! a-heap '(7 3 9 1 13 21 15 31)) + (heap-count a-heap) ] } @@ -55,8 +55,8 @@ Returns the number of elements in the heap. Adds each @racket[v] to the heap. @examples[#:eval the-eval -(define a-heap (make-heap <=)) -(heap-add! a-heap 2009 1009)] + (define a-heap (make-heap <=)) + (heap-add! a-heap 2009 1009)] } @@ -66,14 +66,14 @@ Adds each element contained in @racket[v] to the heap, leaving @racket[v] unchanged. @examples[#:eval the-eval -(define heap-1 (make-heap <=)) -(define heap-2 (make-heap <=)) -(define heap-12 (make-heap <=)) -(heap-add-all! heap-1 '(3 1 4 1 5 9 2 6)) -(heap-add-all! heap-2 #(2 7 1 8 2 8 1 8)) -(heap-add-all! heap-12 heap-1) -(heap-add-all! heap-12 heap-2) -(heap-count heap-12)] + (define heap-1 (make-heap <=)) + (define heap-2 (make-heap <=)) + (define heap-12 (make-heap <=)) + (heap-add-all! heap-1 '(3 1 4 1 5 9 2 6)) + (heap-add-all! heap-2 #(2 7 1 8 2 8 1 8)) + (heap-add-all! heap-12 heap-1) + (heap-add-all! heap-12 heap-2) + (heap-count heap-12)] } @defproc[(heap-min [h heap?]) any/c]{ @@ -82,13 +82,13 @@ Returns the least element in the heap @racket[h], according to the heap's ordering. If the heap is empty, an exception is raised. @examples[#:eval the-eval -(define a-heap (make-heap string<=?)) -(heap-add! a-heap "sneezy" "sleepy" "dopey" "doc" - "happy" "bashful" "grumpy") -(heap-min a-heap) + (define a-heap (make-heap string<=?)) + (heap-add! a-heap "sneezy" "sleepy" "dopey" "doc" + "happy" "bashful" "grumpy") + (heap-min a-heap) -@code:comment{Taking the min of the empty heap is an error:} -(heap-min (make-heap <=)) + @code:comment{Taking the min of the empty heap is an error:} + (heap-min (make-heap <=)) ] } @@ -98,13 +98,13 @@ Removes the least element in the heap @racket[h]. If the heap is empty, an exception is raised. @examples[#:eval the-eval -(define a-heap (make-heap string<=?)) -(heap-add! a-heap "fili" "fili" "oin" "gloin" "thorin" - "dwalin" "balin" "bifur" "bofur" - "bombur" "dori" "nori" "ori") -(heap-min a-heap) -(heap-remove-min! a-heap) -(heap-min a-heap)] + (define a-heap (make-heap string<=?)) + (heap-add! a-heap "fili" "fili" "oin" "gloin" "thorin" + "dwalin" "balin" "bifur" "bofur" + "bombur" "dori" "nori" "ori") + (heap-min a-heap) + (heap-remove-min! a-heap) + (heap-min a-heap)] } @defproc[(vector->heap [<=? (-> any/c any/c any/c)] [items vector?]) heap?]{ @@ -112,12 +112,12 @@ empty, an exception is raised. Builds a heap with the elements from @racket[items]. The vector is not modified. @examples[#:eval the-eval -(struct item (val frequency)) -(define (item<=? x y) - (<= (item-frequency x) (item-frequency y))) -(define some-sample-items - (vector (item #\a 17) (item #\b 12) (item #\c 19))) -(define a-heap (vector->heap item<=? some-sample-items)) + (struct item (val frequency)) + (define (item<=? x y) + (<= (item-frequency x) (item-frequency y))) + (define some-sample-items + (vector (item #\a 17) (item #\b 12) (item #\c 19))) + (define a-heap (vector->heap item<=? some-sample-items)) ] } @@ -127,9 +127,9 @@ Returns a vector containing the elements of heap @racket[h] in the heap's order. The heap is not modified. @examples[#:eval the-eval -(define word-heap (make-heap string<=?)) -(heap-add! word-heap "pile" "mound" "agglomerate" "cumulation") -(heap->vector word-heap) + (define word-heap (make-heap string<=?)) + (heap-add! word-heap "pile" "mound" "agglomerate" "cumulation") + (heap->vector word-heap) ] } @@ -137,12 +137,12 @@ heap's order. The heap is not modified. Makes a copy of heap @racket[h]. @examples[#:eval the-eval -(define word-heap (make-heap string<=?)) -(heap-add! word-heap "pile" "mound" "agglomerate" "cumulation") -(define a-copy (heap-copy word-heap)) -(heap-remove-min! a-copy) -(heap-count word-heap) -(heap-count a-copy) + (define word-heap (make-heap string<=?)) + (heap-add! word-heap "pile" "mound" "agglomerate" "cumulation") + (define a-copy (heap-copy word-heap)) + (heap-remove-min! a-copy) + (heap-count word-heap) + (heap-count a-copy) ] } @@ -154,14 +154,13 @@ Makes a copy of heap @racket[h]. Sorts vector @racket[v] using the comparison function @racket[<=?]. @examples[#:eval the-eval -(define terms (vector "batch" "deal" "flock" "good deal" "hatful" "lot")) -(heap-sort! string<=? terms) -terms + (define terms (vector "batch" "deal" "flock" "good deal" "hatful" "lot")) + (heap-sort! string<=? terms) + terms ] } - @defproc[(in-heap/consume! [heap heap?]) sequence?]{ Returns a sequence equivalent to @racket[heap], maintaining the heap's ordering. The heap is consumed in the process. Equivalent to repeated calling @@ -170,12 +169,13 @@ The heap is consumed in the process. Equivalent to repeated calling @examples[#:eval the-eval (define h (make-heap <=)) (heap-add-all! h '(50 40 10 20 30)) - + (for ([x (in-heap/consume! h)]) (displayln x)) - + (heap-count h)] } + @defproc[(in-heap [heap heap?]) sequence?]{ Returns a sequence equivalent to @racket[heap], maintaining the heap's ordering. Equivalent to @racket[in-heap/consume!] except the heap is copied first. @@ -183,11 +183,12 @@ Equivalent to @racket[in-heap/consume!] except the heap is copied first. @examples[#:eval the-eval (define h (make-heap <=)) (heap-add-all! h '(50 40 10 20 30)) - + (for ([x (in-heap h)]) (displayln x)) - + (heap-count h)] } -@close-eval[the-eval] \ No newline at end of file + +@close-eval[the-eval] diff --git a/collects/data/scribblings/integer-set.scrbl b/collects/data/scribblings/integer-set.scrbl index 26ac7aaa6f..c618397bbe 100644 --- a/collects/data/scribblings/integer-set.scrbl +++ b/collects/data/scribblings/integer-set.scrbl @@ -153,4 +153,4 @@ Returns true if every integer in @racket[x] is also in @racket[y], otherwise @racket[#f].} -@close-eval[the-eval] \ No newline at end of file +@close-eval[the-eval] diff --git a/collects/data/scribblings/interval-map.scrbl b/collects/data/scribblings/interval-map.scrbl index e7a52de7a9..c220d6e753 100644 --- a/collects/data/scribblings/interval-map.scrbl +++ b/collects/data/scribblings/interval-map.scrbl @@ -168,4 +168,5 @@ Returns @racket[#t] if @racket[v] represents a position in an interval-map, @racket[#f] otherwise. } -@close-eval[the-eval] \ No newline at end of file + +@close-eval[the-eval] diff --git a/collects/data/scribblings/queue.scrbl b/collects/data/scribblings/queue.scrbl index fa3dd4ec63..65e5a7572e 100644 --- a/collects/data/scribblings/queue.scrbl +++ b/collects/data/scribblings/queue.scrbl @@ -96,5 +96,4 @@ Returns a sequence whose elements are the elements of } - -@close-eval[qeval] \ No newline at end of file +@close-eval[qeval] diff --git a/collects/data/scribblings/skip-list.scrbl b/collects/data/scribblings/skip-list.scrbl index 2f0cf075a5..ae65895ac2 100644 --- a/collects/data/scribblings/skip-list.scrbl +++ b/collects/data/scribblings/skip-list.scrbl @@ -173,4 +173,4 @@ Returns an association list with the keys and values of } -@close-eval[the-eval] \ No newline at end of file +@close-eval[the-eval] diff --git a/collects/data/scribblings/splay-tree.scrbl b/collects/data/scribblings/splay-tree.scrbl index b237f7481b..20dacf5570 100644 --- a/collects/data/scribblings/splay-tree.scrbl +++ b/collects/data/scribblings/splay-tree.scrbl @@ -176,4 +176,4 @@ order. } -@close-eval[the-eval] \ No newline at end of file +@close-eval[the-eval] diff --git a/collects/drracket/private/local-member-names.rkt b/collects/drracket/private/local-member-names.rkt index 411eab9d60..e9c883ad9e 100644 --- a/collects/drracket/private/local-member-names.rkt +++ b/collects/drracket/private/local-member-names.rkt @@ -11,11 +11,11 @@ insert-auto-text) ;; from module-language-tools.rkt -(define-local-member-name +(define-local-member-name when-initialized - ;move-to-new-language + ;move-to-new-language get-in-module-language?) - + ;; for keybindings (otherwise private) (define-local-member-name jump-to-previous-error-loc @@ -28,4 +28,4 @@ ;; used by the test suite to tell when the ;; online check syntax has finished (define-local-member-name - get-online-expansion-colors) \ No newline at end of file + get-online-expansion-colors) diff --git a/collects/file/scribblings/md5.scrbl b/collects/file/scribblings/md5.scrbl index f9b0a241dc..c4e470ca82 100644 --- a/collects/file/scribblings/md5.scrbl +++ b/collects/file/scribblings/md5.scrbl @@ -22,5 +22,4 @@ that is the MD5 hash of the given input stream or byte string. ]} - -@close-eval[md5-eval] \ No newline at end of file +@close-eval[md5-eval] diff --git a/collects/file/scribblings/sha1.scrbl b/collects/file/scribblings/sha1.scrbl index 215abd6c33..6863d57f48 100644 --- a/collects/file/scribblings/sha1.scrbl +++ b/collects/file/scribblings/sha1.scrbl @@ -42,4 +42,4 @@ byte in @racket[bstr] is converted to its two-digit hexadecimal representation in the resulting string.} -@close-eval[sha1-eval] \ No newline at end of file +@close-eval[sha1-eval] diff --git a/collects/images/scribblings/icons.scrbl b/collects/images/scribblings/icons.scrbl index c1ef2cb47d..b402a1ad3c 100644 --- a/collects/images/scribblings/icons.scrbl +++ b/collects/images/scribblings/icons.scrbl @@ -477,4 +477,4 @@ Constants used within @racketmodname[images/icons/tool]. } -@close-eval[icons-eval] \ No newline at end of file +@close-eval[icons-eval] diff --git a/collects/images/scribblings/logos.scrbl b/collects/images/scribblings/logos.scrbl index 1231bcc2b0..32b9df2379 100644 --- a/collects/images/scribblings/logos.scrbl +++ b/collects/images/scribblings/logos.scrbl @@ -40,5 +40,4 @@ Returns the macro stepper logo. } - -@close-eval[logos-eval] \ No newline at end of file +@close-eval[logos-eval] diff --git a/collects/macro-debugger/macro-debugger.scrbl b/collects/macro-debugger/macro-debugger.scrbl index 91adf78df6..03a9827764 100644 --- a/collects/macro-debugger/macro-debugger.scrbl +++ b/collects/macro-debugger/macro-debugger.scrbl @@ -569,5 +569,4 @@ module path and the module paths of its immediate dependents. } - -@close-eval[the-eval] \ No newline at end of file +@close-eval[the-eval] diff --git a/collects/mzlib/scribblings/compat.scrbl b/collects/mzlib/scribblings/compat.scrbl index 85b6f2a3b8..2514dfc0b6 100644 --- a/collects/mzlib/scribblings/compat.scrbl +++ b/collects/mzlib/scribblings/compat.scrbl @@ -95,5 +95,4 @@ running @racket[read-eval-print]. In addition, @racket[current-exit] is set to escape from the call to @racket[new-cafe].} - -@close-eval[compat-eval] \ No newline at end of file +@close-eval[compat-eval] diff --git a/collects/mzlib/scribblings/etc.scrbl b/collects/mzlib/scribblings/etc.scrbl index 1138875a09..704eb7f82c 100644 --- a/collects/mzlib/scribblings/etc.scrbl +++ b/collects/mzlib/scribblings/etc.scrbl @@ -271,5 +271,4 @@ Creates a new hash-table providing the quoted flags (if any) to corresponding values.} - -@close-eval[etc-eval] \ No newline at end of file +@close-eval[etc-eval] diff --git a/collects/mzlib/scribblings/kw.scrbl b/collects/mzlib/scribblings/kw.scrbl index 4bc7907308..f72cf73805 100644 --- a/collects/mzlib/scribblings/kw.scrbl +++ b/collects/mzlib/scribblings/kw.scrbl @@ -449,7 +449,4 @@ if the @racket[args] list is imbalanced, and the search stops at a non-keyword value.)} - - - -@close-eval[kw-eval] \ No newline at end of file +@close-eval[kw-eval] diff --git a/collects/mzlib/scribblings/struct.scrbl b/collects/mzlib/scribblings/struct.scrbl index 51516f0830..98a96f7802 100644 --- a/collects/mzlib/scribblings/struct.scrbl +++ b/collects/mzlib/scribblings/struct.scrbl @@ -67,6 +67,4 @@ Builds a function that accepts a structure type instance (matching structure type instance.} - - -@close-eval[struct-eval] \ No newline at end of file +@close-eval[struct-eval] diff --git a/collects/net/scribblings/cookie.scrbl b/collects/net/scribblings/cookie.scrbl index dfbe81fcd6..59ee053eee 100644 --- a/collects/net/scribblings/cookie.scrbl +++ b/collects/net/scribblings/cookie.scrbl @@ -189,5 +189,4 @@ Imports nothing, exports @racket[cookie^].} Includes everything exported by the @racketmodname[net/cookie] module. - -@close-eval[cookie-eval] \ No newline at end of file +@close-eval[cookie-eval] diff --git a/collects/net/scribblings/head.scrbl b/collects/net/scribblings/head.scrbl index f46e79eff5..2d7a073ba1 100644 --- a/collects/net/scribblings/head.scrbl +++ b/collects/net/scribblings/head.scrbl @@ -243,5 +243,4 @@ Imports nothing, exports @racket[head^].} Includes everything exported by the @racketmodname[net/head] module. - -@close-eval[head-eval] \ No newline at end of file +@close-eval[head-eval] diff --git a/collects/racklog/racklog.scrbl b/collects/racklog/racklog.scrbl index fb1135bd28..61197416c7 100644 --- a/collects/racklog/racklog.scrbl +++ b/collects/racklog/racklog.scrbl @@ -1459,5 +1459,4 @@ frozen structure in @racket[F].} ] - -@close-eval[racklog-eval] \ No newline at end of file +@close-eval[racklog-eval] diff --git a/collects/redex/scribblings/ref.scrbl b/collects/redex/scribblings/ref.scrbl index eda7ec61c1..0359a123fe 100644 --- a/collects/redex/scribblings/ref.scrbl +++ b/collects/redex/scribblings/ref.scrbl @@ -3100,7 +3100,4 @@ column-span of the new lw is always zero. } - - - -@close-eval[redex-eval] \ No newline at end of file +@close-eval[redex-eval] diff --git a/collects/redex/scribblings/tut.scrbl b/collects/redex/scribblings/tut.scrbl index 6108526bd1..2c43b75af7 100644 --- a/collects/redex/scribblings/tut.scrbl +++ b/collects/redex/scribblings/tut.scrbl @@ -1124,5 +1124,4 @@ is rendered as @racketblock[Γ ⊢ e : t] @generate-bibliography[] - -@close-eval[amb-eval] \ No newline at end of file +@close-eval[amb-eval] diff --git a/collects/scribblings/draw/guide.scrbl b/collects/scribblings/draw/guide.scrbl index 52fa7c3a16..23d4125d62 100644 --- a/collects/scribblings/draw/guide.scrbl +++ b/collects/scribblings/draw/guide.scrbl @@ -766,4 +766,4 @@ Different kinds of bitmaps can produce different results: ] -@close-eval[draw-eval] \ No newline at end of file +@close-eval[draw-eval] diff --git a/collects/scribblings/foreign/objc.scrbl b/collects/scribblings/foreign/objc.scrbl index 15aafd345f..eb88d245a4 100644 --- a/collects/scribblings/foreign/objc.scrbl +++ b/collects/scribblings/foreign/objc.scrbl @@ -344,6 +344,4 @@ Analogous to @racket[(unsafe!)], makes unsafe bindings of module.} - - -@close-eval[objc-eval] \ No newline at end of file +@close-eval[objc-eval] diff --git a/collects/scribblings/guide/futures.scrbl b/collects/scribblings/guide/futures.scrbl index 431bca8e23..e50b096a0d 100644 --- a/collects/scribblings/guide/futures.scrbl +++ b/collects/scribblings/guide/futures.scrbl @@ -479,5 +479,4 @@ annotates operations that can be inlined by the compiler (see decompiler can be used to help predict parallel performance. - -@close-eval[future-eval] \ No newline at end of file +@close-eval[future-eval] diff --git a/collects/scribblings/reference/booleans.scrbl b/collects/scribblings/reference/booleans.scrbl index b4feaa5e15..4e65d3b4ed 100644 --- a/collects/scribblings/reference/booleans.scrbl +++ b/collects/scribblings/reference/booleans.scrbl @@ -298,7 +298,7 @@ Returns @racket[(not v)].} If exactly one of @racket[b1] and @racket[b2] is not @racket[#f], then return it. Otherwise, returns @racket[#f]. - + @examples[#:eval bool-eval (xor 11 #f) @@ -309,5 +309,4 @@ Returns @racket[(not v)].} } - -@close-eval[bool-eval] \ No newline at end of file +@close-eval[bool-eval] diff --git a/collects/scribblings/reference/fixnums.scrbl b/collects/scribblings/reference/fixnums.scrbl index a25da77133..4ac824f4a9 100644 --- a/collects/scribblings/reference/fixnums.scrbl +++ b/collects/scribblings/reference/fixnums.scrbl @@ -202,6 +202,4 @@ allocated in the @tech{shared memory space}. @mz-examples[#:eval flfx-eval (make-shared-fxvector 4 3)]} - - -@close-eval[flfx-eval] \ No newline at end of file +@close-eval[flfx-eval] diff --git a/collects/scribblings/reference/trace.scrbl b/collects/scribblings/reference/trace.scrbl index 36bfc46d6b..4310c1c7b9 100644 --- a/collects/scribblings/reference/trace.scrbl +++ b/collects/scribblings/reference/trace.scrbl @@ -1,9 +1,9 @@ #lang scribble/doc @(require "mz.rkt" (for-label racket/trace) - scribble/eval) + scribble/eval) @(begin (define ev (make-base-eval)) - (ev '(require racket/trace))) + (ev '(require racket/trace))) @title{Tracing} @@ -80,8 +80,8 @@ trace information during the call, as described above in the docs for } @defparam[current-trace-print-args trace-print-args - (-> symbol? - list? + (-> symbol? + list? (listof keyword?) list? number? @@ -95,8 +95,8 @@ number indicating the depth of the call. } @defparam[current-trace-print-results trace-print-results - (-> symbol? - list? + (-> symbol? + list? number? any)]{ @@ -105,7 +105,7 @@ traced call. It receives the name of the function, the function's results, and a number indicating the depth of the call. } - + @defparam[current-prefix-in prefix string?]{ This string is used by the default value of @racket[current-trace-print-args] indicating that the current line is showing the a call to a @@ -114,7 +114,7 @@ results, and a number indicating the depth of the call. It defaults to @racket[">"]. } - + @defparam[current-prefix-out prefix string?]{ This string is used by the default value of @racket[current-trace-print-results] indicating that the current line is showing the result @@ -124,6 +124,4 @@ results, and a number indicating the depth of the call. } - - -@close-eval[ev] \ No newline at end of file +@close-eval[ev] diff --git a/collects/syntax/scribblings/keyword.scrbl b/collects/syntax/scribblings/keyword.scrbl index 895d3145b9..6b77b08eb8 100644 --- a/collects/syntax/scribblings/keyword.scrbl +++ b/collects/syntax/scribblings/keyword.scrbl @@ -275,5 +275,4 @@ A @techlink{check-procedure} that accepts syntax booleans. } - -@close-eval[the-eval] \ No newline at end of file +@close-eval[the-eval] diff --git a/collects/syntax/scribblings/modcollapse.scrbl b/collects/syntax/scribblings/modcollapse.scrbl index 263e2aaae7..cde96e2618 100644 --- a/collects/syntax/scribblings/modcollapse.scrbl +++ b/collects/syntax/scribblings/modcollapse.scrbl @@ -60,6 +60,4 @@ refman]{module path index}; in this case, the contains the ``self'' index.} - - -@close-eval[evaluator] \ No newline at end of file +@close-eval[evaluator] diff --git a/collects/tests/data/heap.rkt b/collects/tests/data/heap.rkt index 542d2ec64a..0c9aa3f897 100644 --- a/collects/tests/data/heap.rkt +++ b/collects/tests/data/heap.rkt @@ -84,4 +84,3 @@ [lst (for/list ([x (in-heap/consume! h)]) x)]) (heap-count h)) 0) - \ No newline at end of file diff --git a/collects/typed-racket/scribblings/guide/begin.scrbl b/collects/typed-racket/scribblings/guide/begin.scrbl index 3cfd2ebefd..24c45c7bc2 100644 --- a/collects/typed-racket/scribblings/guide/begin.scrbl +++ b/collects/typed-racket/scribblings/guide/begin.scrbl @@ -1,7 +1,7 @@ #lang scribble/manual @begin[(require (for-label (only-meta-in 0 typed/racket)) scribble/eval - "../utils.rkt" (only-in "quick.scrbl" typed-mod))] + "../utils.rkt" (only-in "quick.scrbl" typed-mod))] @(define the-eval (make-base-eval)) @(the-eval '(require typed/racket)) @@ -133,5 +133,4 @@ Typed Racket also attempts to detect more than one error in the module. } - -@close-eval[the-eval] \ No newline at end of file +@close-eval[the-eval] diff --git a/collects/unstable/automata/scribblings/automata.scrbl b/collects/unstable/automata/scribblings/automata.scrbl index d3a1f8d88c..4bf6ff542e 100644 --- a/collects/unstable/automata/scribblings/automata.scrbl +++ b/collects/unstable/automata/scribblings/automata.scrbl @@ -36,12 +36,12 @@ Each of the subsequent macros compile to instances of the machines provided by t boolean?]{ Returns @racket[#t] if @racket[m] ends in an accepting state after consuming every element of @racket[i]. } - + @defproc[(machine-accepts?/prefix-closed [m machine?] [i (listof any/c)]) boolean?]{ Returns @racket[#t] if @racket[m] stays in an accepting state during the consumption of every element of @racket[i]. } - + @defthing[machine-null machine?]{ A machine that is never accepting. } @@ -63,28 +63,28 @@ Each of the subsequent macros compile to instances of the machines provided by t machine?]{ A machine that simulates the Kleene star of @racket[m]. @racket[m] may be invoked many times. } - + @defproc[(machine-union [m0 machine?] [m1 machine?]) machine?]{ A machine that simulates the union of @racket[m0] and @racket[m1]. } - + @defproc[(machine-intersect [m0 machine?] [m1 machine?]) machine?]{ A machine that simulates the intersection of @racket[m0] and @racket[m1]. } - + @defproc[(machine-seq [m0 machine?] [m1 machine?]) machine?]{ A machine that simulates the sequencing of @racket[m0] and @racket[m1]. @racket[m1] may be invoked many times. } - + @defproc[(machine-seq* [m0 machine?] [make-m1 (-> machine?)]) machine?]{ A machine that simulates the sequencing of @racket[m0] and @racket[(make-m1)]. @racket[(make-m1)] may be invoked many times. } - + @section[#:tag "dfa"]{Deterministic Finite Automata} @@ -214,5 +214,4 @@ This module provides a macro for non-deterministic finite automata with epsilon @include-section["re.scrbl"] - -@close-eval[our-eval] \ No newline at end of file +@close-eval[our-eval] diff --git a/collects/unstable/automata/scribblings/re.scrbl b/collects/unstable/automata/scribblings/re.scrbl index 8dc82fc826..0a30a7bedf 100644 --- a/collects/unstable/automata/scribblings/re.scrbl +++ b/collects/unstable/automata/scribblings/re.scrbl @@ -206,5 +206,4 @@ This module provides a few transformers that extend the syntax of regular expres (list 1 0)])] - -@close-eval[our-eval] \ No newline at end of file +@close-eval[our-eval] diff --git a/collects/unstable/scribblings/custom-write.scrbl b/collects/unstable/scribblings/custom-write.scrbl index 0fdf71693d..59546adf5e 100644 --- a/collects/unstable/scribblings/custom-write.scrbl +++ b/collects/unstable/scribblings/custom-write.scrbl @@ -66,5 +66,4 @@ When attached to a struct type, automatically generates a printer using } - -@close-eval[the-eval] \ No newline at end of file +@close-eval[the-eval] diff --git a/collects/unstable/scribblings/gui/notify.scrbl b/collects/unstable/scribblings/gui/notify.scrbl index 7918b3ca80..7dd883d1f8 100644 --- a/collects/unstable/scribblings/gui/notify.scrbl +++ b/collects/unstable/scribblings/gui/notify.scrbl @@ -155,5 +155,4 @@ listeners. } - -@close-eval[the-eval] \ No newline at end of file +@close-eval[the-eval] diff --git a/collects/unstable/scribblings/logging.scrbl b/collects/unstable/scribblings/logging.scrbl index dd51907746..82c63e0da1 100644 --- a/collects/unstable/scribblings/logging.scrbl +++ b/collects/unstable/scribblings/logging.scrbl @@ -13,7 +13,7 @@ This module provides tools for logging. @defproc[(with-logging-to-port [port output-port?] [proc (-> any)] - [log-spec (or/c 'fatal 'error 'warning 'info 'debug symbol? #f)] ...) + [log-spec (or/c 'fatal 'error 'warning 'info 'debug symbol? #f)] ...) any]{ Runs @racket[proc], outputting any logging that would be received by @@ -35,8 +35,8 @@ Returns whatever @racket[proc] returns. [interceptor (-> (vector/c (or/c 'fatal 'error 'warning 'info 'debug) string? - any/c) - any)] + any/c) + any)] [proc (-> any)] [log-spec (or/c 'fatal 'error 'warning 'info 'debug symbol? #f)] ...) any]{ @@ -88,5 +88,4 @@ will then return a list of the log messages that have been reported. ]} - -@close-eval[the-eval] \ No newline at end of file +@close-eval[the-eval] diff --git a/collects/unstable/scribblings/open-place.scrbl b/collects/unstable/scribblings/open-place.scrbl index 2f376149d5..5b3a288fce 100644 --- a/collects/unstable/scribblings/open-place.scrbl +++ b/collects/unstable/scribblings/open-place.scrbl @@ -21,5 +21,4 @@ Note that these variables must have values accepted by } - -@close-eval[the-eval] \ No newline at end of file +@close-eval[the-eval] diff --git a/collects/unstable/scribblings/parameter-group.scrbl b/collects/unstable/scribblings/parameter-group.scrbl index ebb9d8c054..8bcfb74c98 100644 --- a/collects/unstable/scribblings/parameter-group.scrbl +++ b/collects/unstable/scribblings/parameter-group.scrbl @@ -59,5 +59,4 @@ Corresponds to @racket[parameterize*], but can parameterize parameter groups as } - -@close-eval[evaluator] \ No newline at end of file +@close-eval[evaluator]