Fixed a typo: part of define-generics's documentation was in the wrong scope.
This commit is contained in:
parent
bb616ae1e9
commit
21f4377305
|
@ -71,11 +71,11 @@ When @racket[maybe-defaults] is provided, each generic function
|
|||
uses @racket[pred?]s to dispatch to the given default implementations,
|
||||
@racket[method-impl]s, if dispatching to the generic method table fails.
|
||||
The syntax of the @racket[method-impl]s is the same as the methods
|
||||
provided for the @racket[#:methods] keyword for @racket[struct].}
|
||||
provided for the @racket[#:methods] keyword for @racket[struct].
|
||||
|
||||
The @racket[id]@racketidfont{/c} combinator is intended to be used to
|
||||
contract the range of a constructor procedure for a struct type that
|
||||
implements the generic interface.
|
||||
implements the generic interface.}
|
||||
|
||||
@defform[(define/generic local-id method-id)
|
||||
#:contracts
|
||||
|
|
Loading…
Reference in New Issue
Block a user