Skip to content

Commit

Permalink
Merge pull request #95 from unkarjedy/patch-1
Browse files Browse the repository at this point in the history
Update typeclasses-syntax.md
  • Loading branch information
WojciechMazur authored Oct 14, 2024
2 parents bdb2bde + 3bff9c3 commit 3cbf3dd
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 3cbf3dd

Please sign in to comment.