Typo fixes

This commit is contained in:
Samuel Bronson 2012-10-14 13:48:50 -04:00 committed by Matthew Flatt
parent e157041497
commit b366d04792
3 changed files with 8 additions and 7 deletions

View File

@ -7,7 +7,8 @@
(struct example (code desc)) (struct example (code desc))
(define ((example-with-help . help) code desc) (example code (list desc help))) (define ((example-with-help . help) code desc)
(example code (list desc help)))
(define generic-example (define generic-example
@example-with-help{ @example-with-help{
@p{To run the example, install Racket, start DrRacket, paste the example @p{To run the example, install Racket, start DrRacket, paste the example
@ -37,7 +38,7 @@
(define (elemcode . strs) (apply tt strs)) (define (elemcode . strs) (apply tt strs))
(define examples (define examples
@; --- Each example here should at most 7 lines long --------------- @; --- Each example here should be at most 7 lines long ------------
(list (list
@; Candidates for initial example: -------------------------------- @; Candidates for initial example: --------------------------------
(list (list
@ -310,7 +311,7 @@
(define (slideshow-panel l1 l2) (define (slideshow-panel l1 l2)
(define l (append l1 l2)) (define l (append l1 l2))
(define button-ids+labels '()) (define button-ids+labels '())
;; this separator is shown in non-CSS browsers (eg, textual ones) ;; this separator is shown in non-CSS browsers (e.g., textual ones)
(define invisible-separator @div[style: "display: none;"]{@br{}@hr{}}) (define invisible-separator @div[style: "display: none;"]{@br{}@hr{}})
(define (button txt tip id onclick) (define (button txt tip id onclick)
(set! button-ids+labels (cons (cons id txt) button-ids+labels)) (set! button-ids+labels (cons (cons id txt) button-ids+labels))

View File

@ -12,5 +12,5 @@ Allocation rules:
* Other autoreleased objects may end up in the root pool installed by * Other autoreleased objects may end up in the root pool installed by
"pool.rkt". The root pool is periodically destroyed and replaced; "pool.rkt". The root pool is periodically destroyed and replaced;
call `queue-autorelease-flush' if you need to encurage replacement call `queue-autorelease-flush' if you need to encurage replacement
of the pool. If you need to use an object htat might be autoflushed, of the pool. If you need to use an object that might be autoflushed,
be sure that you're in atomic mode. be sure that you're in atomic mode.

View File

@ -34,7 +34,7 @@
;; that will not be parsed as flags by "parse-cmdline.rkt". We don't ;; that will not be parsed as flags by "parse-cmdline.rkt". We don't
;; want to load "parse-cmdline.rkt" because it takes a long time with ;; want to load "parse-cmdline.rkt" because it takes a long time with
;; bytecode files disabled, and we're not yet sure whether to trust ;; bytecode files disabled, and we're not yet sure whether to trust
;; bytecode ifes that do exist. ;; bytecode files that do exist.
(define-values (filter-flags) (define-values (filter-flags)
(lambda (flags) (lambda (flags)
(if (or (null? flags) (if (or (null? flags)
@ -99,8 +99,8 @@
;; any date mismatch in the loading process, abort and ;; any date mismatch in the loading process, abort and
;; try again without .zo files. If .zo files are newer ;; try again without .zo files. If .zo files are newer
;; than .rkt files but a required file is newer than its ;; than .rkt files but a required file is newer than its
;; requring file, we won't notice, but that ;; requiring file, we won't notice, but that
;; shouldn't happen for a reaonsbaly maintained ;; shouldn't happen for a reasonably maintained
;; tree, and there's always --clean to turn this ;; tree, and there's always --clean to turn this
;; off. If an .so file is used, we give up using ;; off. If an .so file is used, we give up using
;; compiled files. ;; compiled files.