diff options
author | Seth Tisue <seth@tisue.net> | 2017-04-10 11:10:13 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-10 11:10:13 -0500 |
commit | 2ba0530218daa170df5f1d25f7b39ab8cb8d0cf7 (patch) | |
tree | 27882766df67589849020c88dfcea69a10928e0b /spec/07-implicits.md | |
parent | f9514bb3ec70e63fa6a1ac65dd9d4e34a30529fe (diff) | |
parent | b9f5211ffd0d097d4caffc40ced8d280e632f460 (diff) | |
download | scala-2ba0530218daa170df5f1d25f7b39ab8cb8d0cf7.tar.gz scala-2ba0530218daa170df5f1d25f7b39ab8cb8d0cf7.tar.bz2 scala-2ba0530218daa170df5f1d25f7b39ab8cb8d0cf7.zip |
Merge pull request #5801 from janekdb/topic/2.12/spec-trailing-punctuation
Consistify trailing punctuation in spec
Diffstat (limited to 'spec/07-implicits.md')
-rw-r--r-- | spec/07-implicits.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/07-implicits.md b/spec/07-implicits.md index 662b653f71..b0c8c1da24 100644 --- a/spec/07-implicits.md +++ b/spec/07-implicits.md @@ -155,7 +155,7 @@ sort(yss) The call above will be completed by passing two nested implicit arguments: ```scala -sort(yss)(xs: List[Int] => list2ordered[Int](xs)(int2ordered)) . +sort(yss)(xs: List[Int] => list2ordered[Int](xs)(int2ordered)) ``` The possibility of passing implicit arguments to implicit arguments @@ -218,7 +218,7 @@ which implicit arguments are searched is ```scala List[List[Int]] => Ordered[List[List[Int]]], -List[Int] => Ordered[List[Int]] +List[Int] => Ordered[List[Int]], Int => Ordered[Int] ``` @@ -290,7 +290,7 @@ or the call-by-name category). Class `scala.Ordered[A]` contains a method ```scala - def <= [B >: A](that: B)(implicit b2ordered: B => Ordered[B]): Boolean . + def <= [B >: A](that: B)(implicit b2ordered: B => Ordered[B]): Boolean ``` Assume two lists `xs` and `ys` of type `List[Int]` |