Skip to content

Commit a0820a7

Browse files
oderskydwijnand
andcommitted
Update docs/_docs/reference/experimental/typeclasses.md
Co-authored-by: Dale Wijnand <[email protected]>
1 parent a516cf6 commit a0820a7

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
@@ -155,7 +155,7 @@ Context bounds are a convenient and legible abbreviation. A problem so far is th
155155

156156
**Proposal:** Allow to name a context bound, like this:
157157
```scala
158-
def reduce[M: Monoid as m](xs: List[M] =
158+
def reduce[M: Monoid as m](xs: List[M]): A =
159159
xs.foldLeft(m.unit)(_ `combine` _)
160160
```
161161

0 commit comments

Comments
 (0)