wording tweaks

This commit is contained in:
Robby Findler 2015-12-30 17:56:05 -06:00
parent 0f7a946dba
commit 85c781452d

View File

@ -2551,26 +2551,21 @@ is expected to be the blame record for the contract on the value).
[#:list-contract? is-list-contract? (-> contract? boolean?) (λ (c) #f)]) [#:list-contract? is-list-contract? (-> contract? boolean?) (λ (c) #f)])
contract-property?])]{ contract-property?])]{
@italic{The precise details of the
@racket[val-first-projection] argument
are subject to change. (Probably
also the default values of the @racket[project]
arguments will change.)}
These functions build the arguments for @racket[prop:contract], These functions build the arguments for @racket[prop:contract],
@racket[prop:chaperone-contract], and @racket[prop:flat-contract], respectively. @racket[prop:chaperone-contract], and @racket[prop:flat-contract], respectively.
A @deftech{contract property} specifies the behavior of a structure when used as A @deftech{contract property} specifies the behavior of a structure when used as
a contract. It is specified in terms of seven accessors: a contract. It is specified in terms of seven properties:
@itemlist[ @itemlist[
@item{@racket[get-name] which produces a description to @racket[write] as part @item{@racket[get-name] which produces a description to @racket[write] as part
of a contract violation;} of a contract violation;}
@item{@racket[get-first-order], which produces a first-order predicate to be @item{@racket[get-first-order], which produces a first-order predicate to be
used by @racket[contract-first-order-passes?];} used by @racket[contract-first-order-passes?];}
@item{@racket[get-projection], which produces a blame-tracking projection @item{@racket[get-late-neg-projection], which produces a blame-tracking projection
defining the behavior of the contract;} defining the behavior of the contract (The @racket[get-projection]
@item{@racket[stronger], which is a predicate that determines whether this and @racket[get-val-first-projection] arguments also specify the projection,
but using a different signature. They are here for backwards compatibility.);}
@item{@racket[stronger], a predicate that determines whether this
contract (passed in the first argument) is stronger than some other contract (passed in the first argument) is stronger than some other
contract (passed in the second argument) and whose default always contract (passed in the second argument) and whose default always
returns @racket[#f];} returns @racket[#f];}