Permalink
Browse files

Reorder docs.

  • Loading branch information...
1 parent fc43698 commit cc9c2922bc7c52b6468a5178125e527fc6169c91 @stamourv stamourv committed May 24, 2012
Showing with 9 additions and 10 deletions.
  1. +1 −2 collects/scribblings/guide/define-struct.scrbl
  2. +8 −8 collects/scribblings/reference/booleans.scrbl
@@ -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]

0 comments on commit cc9c292

Please sign in to comment.