Reorder docs.
This commit is contained in:
parent
a22633e348
commit
13b82e9a59
|
@ -1,9 +1,8 @@
|
|||
#lang scribble/doc
|
||||
@(require scribble/manual scribble/eval scribble/bnf "guide-utils.rkt"
|
||||
(for-label racket/serialize racket/struct))
|
||||
(for-label racket/serialize))
|
||||
|
||||
@(define posn-eval (make-base-eval))
|
||||
@(posn-eval '(require racket/struct))
|
||||
|
||||
@title[#:tag "define-struct"]{Programmer-Defined Datatypes}
|
||||
|
||||
|
|
|
@ -124,14 +124,6 @@ Returns @racket[#t] if @racket[v] is an immutable @tech{string},
|
|||
(immutable? (make-immutable-hash '([a b])))
|
||||
]}
|
||||
|
||||
@defthing[prop:equal+hash struct-type-property?]{
|
||||
|
||||
A deprecated @tech{structure type property} (see @secref["structprops"])
|
||||
that supplies an equality predicate and hashing functions for a structure
|
||||
type. @racket[gen:equal+hash] should be used instead. Accepts a list of
|
||||
three procedures that correspond to the methods of @racket[gen:equal+hash].
|
||||
}
|
||||
|
||||
@defthing[gen:equal+hash any/c]{
|
||||
A @tech{generic interface} (see @secref["struct-generics"]) that
|
||||
supplies an equality predicate and hashing functions for a structure
|
||||
|
@ -234,6 +226,14 @@ non-@racket[#f] value when applied to the structure.
|
|||
(equal? west south)
|
||||
]}
|
||||
|
||||
@defthing[prop:equal+hash struct-type-property?]{
|
||||
|
||||
A deprecated @tech{structure type property} (see @secref["structprops"])
|
||||
that supplies an equality predicate and hashing functions for a structure
|
||||
type. @racket[gen:equal+hash] should be used instead. Accepts a list of
|
||||
three procedures that correspond to the methods of @racket[gen:equal+hash].
|
||||
}
|
||||
|
||||
@section{Boolean Aliases}
|
||||
|
||||
@note-lib[racket/bool]
|
||||
|
|
Loading…
Reference in New Issue
Block a user