Skip to content

Commit

Permalink
Update typeclasses-syntax.md
Browse files Browse the repository at this point in the history
  • Loading branch information
unkarjedy authored Oct 7, 2024
1 parent bdb2bde commit 3bff9c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/typeclasses-syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Aggregate context bounds like `A : X : Y` are not obvious to read, and it become
to import clauses. Example:

```scala
trait:
trait A:
def showMax[X : {Ordering, Show}](x: X, y: X): String
class B extends A:
def showMax[X : {Ordering as ordering, Show as show}](x: X, y: X): String =
Expand Down

0 comments on commit 3bff9c3

Please sign in to comment.