Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
odersky committed Feb 29, 2024
1 parent 169c17e commit 3857796
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_docs/reference/experimental/typeclasses.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ and not to:
We introduce a standard type alias `forms` in the Scala package or in `Predef`, defined like this:

```scala
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 }
```

This makes writing instance definitions quite pleasant. Examples:
Expand Down

0 comments on commit 3857796

Please sign in to comment.