Skip to content

Commit 939c36f

Browse files
committed
wording and typo
1 parent f2619c5 commit 939c36f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rfcs/text/0003-typing-generic-interfaces.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ cannot tell which argument would act as the specializer based on the type of
6262
- typecheck implemented method in `defaults` and `fast-defaults`. In each of
6363
their entries, the type of an implemented method should preserve the subtyping
6464
property for functions. Specifically, the specializer argument should be of a
65-
super type of what the preceding type predicate is true of.
65+
super type of what the preceding type predicate is for.
6666
- typecheck methods in the `fallbacks` section. Note that since Racket does not
6767
support generic inheritance in any kind or shape, the specializer argument's
6868
type can only the generic interface type.
@@ -98,7 +98,7 @@ interfaces, we can still express constraints using types in `define/generics`.
9898
(define-generics eq-able
9999
(: gen-== (eq-able eq-able . -> . Boolean) )
100100
(gen-== eq-able e)
101-
(: gen-== (eq-able eq-able . -> . Boolean) )
101+
(: gen-/= (eq-able eq-able . -> . Boolean) )
102102
(gen-/= eq-able e)
103103
#:fallbacks [(define/generic super-== gen-==)
104104
(define/generic super-/= gen-/=)

0 commit comments

Comments
 (0)