We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c62aeb4 commit 8472030Copy full SHA for 8472030
docs/_docs/reference/experimental/typeclasses.md
@@ -126,7 +126,7 @@ and not to:
126
We introduce a standard type alias `forms` in the Scala package or in `Predef`, defined like this:
127
128
```scala
129
- infix type is[A <: AnyKind, B <: {type Self <: AnyKind}] = B { type Self = A }
+ infix type forms[A <: AnyKind, B <: {type Self <: AnyKind}] = B { type Self = A }
130
```
131
132
This makes writing instance definitions quite pleasant. Examples:
0 commit comments