Skip to content

Commit 8472030

Browse files
committed
Fix typo
1 parent c62aeb4 commit 8472030

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/_docs/reference/experimental/typeclasses.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ and not to:
126126
We introduce a standard type alias `forms` in the Scala package or in `Predef`, defined like this:
127127

128128
```scala
129-
infix type is[A <: AnyKind, B <: {type Self <: AnyKind}] = B { type Self = A }
129+
infix type forms[A <: AnyKind, B <: {type Self <: AnyKind}] = B { type Self = A }
130130
```
131131

132132
This makes writing instance definitions quite pleasant. Examples:

0 commit comments

Comments
 (0)