summaryrefslogtreecommitdiff
path: root/09-implicit-parameters-and-views.md
diff options
context:
space:
mode:
Diffstat (limited to '09-implicit-parameters-and-views.md')
-rw-r--r--09-implicit-parameters-and-views.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/09-implicit-parameters-and-views.md b/09-implicit-parameters-and-views.md
index b55109636a..8cd54897c9 100644
--- a/09-implicit-parameters-and-views.md
+++ b/09-implicit-parameters-and-views.md
@@ -1,6 +1,7 @@
---
title: Implicit Parameters and Views
layout: default
+chapter: 7
---
# Implicit Parameters and Views
@@ -18,7 +19,7 @@ and can be used as implicit conversions called [views](#views).
The `implicit` modifier is illegal for all
type members, as well as for [top-level objects](11-top-level-definitions.html#packagings).
-###### Example: `Monoid`
+### Example:
The following code defines an abstract class of monoids and
two concrete implementations, `StringMonoid` and
`IntMonoid`. The two implementations are marked implicit.
@@ -289,7 +290,7 @@ As for implicit parameters, overloading resolution is applied
if there are several possible candidates (of either the call-by-value
or the call-by-name category).
-###### Example: `Ordered`
+### Example:
Class `scala.Ordered[A]` contains a method
```