scribblings: fixed misc doc typos

syntax/id-table: disabled debugging code

svn: r17215
This commit is contained in:
Ryan Culpepper 2009-12-05 22:02:46 +00:00
parent ada899f158
commit 63469d2f3d
5 changed files with 9 additions and 8 deletions

View File

@ -1196,8 +1196,8 @@ This property should only be present if the contract is a flat contract. In the
@mz-examples[#:eval (contract-eval)
(flat-pred? (-> integer? integer?))
(let ([c (between/c 1 10)]
[pred ((flat-get c) c)])
(let* ([c (between/c 1 10)]
[pred ((flat-get c) c)])
(list (pred 9)
(pred 11)))]
}

View File

@ -953,7 +953,7 @@ Returns the hyperbolic tangent of @scheme[z].}
Computes the greatest exact integer @scheme[m] such that:
@schemeblock[(<= (expt 10 m)
(inexact->exact r))]
Hence also
Hence also:
@schemeblock[(< (inexact->exact r)
(expt 10 (add1 m)))]

View File

@ -885,7 +885,7 @@ without building the intermediate list.
Returns @scheme[(length (filter proc lst ...))], but
without building the intermediate list.
@mz-examples[
@mz-examples[#:eval list-eval
(count positive? '(1 -1 2 3 -2 5))
]}

View File

@ -253,7 +253,7 @@ See also @scheme[procedure-arity?].}
@defthing[prop:procedure struct-type-property?]{
A @tech{structure type property} to indentify structure types whose
A @tech{structure type property} to identify structure types whose
instances can be applied as procedures. In particular, when
@scheme[procedure?] is applied to the instance, the result will be
@scheme[#t], and when an instance is used in the function position of
@ -451,8 +451,8 @@ primitive closure rather than a simple primitive procedure,
Returns the arity of the result of the primitive procedure
@scheme[prim] (as opposed to the procedure's input arity as returned
by @scheme[arity]). For most primitives, this procedure returns
@scheme[1], since most primitives return a single value when
by @scheme[procedure-arity]). For most primitives, this procedure
returns @scheme[1], since most primitives return a single value when
applied.}
@; ----------------------------------------

View File

@ -4,6 +4,7 @@
scheme/dict)
(provide id-table-position?)
#|
(require (rename-in scheme/base [car s:car]))
(define-syntax (car stx)
(syntax-case stx ()
@ -13,7 +14,7 @@
'#,(syntax-line stx)
'#,(syntax-column stx))))
(s:car x))]))
|#
(define-struct id-table-position (a b))