8000 Merge pull request #171 from xeno-by/master · rssh/scala.github.com@55855e4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 55855e4

Browse files
committed
Merge pull request scala#171 from xeno-by/master
a minor correction to inference.md
2 parents dc7063b + f9fc7a8 commit 55855e4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

overviews/macros/inference.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ defined isomorphisms, declare implicit parameters of type `Iso`, which then get
4040
tp : (Int, String, Boolean)
4141
tp == (23, "foo", true)
4242

43-
As we can see, the isomorphism between a case class and a tuple is trivial. The compiler already generates the necessary methods,
43+
As we can see, the isomorphism between a case class and a tuple is trivial (actually, shapeless uses Iso's to convert between case
44+
classes and HLists, but for simplicity let's use tuples). The compiler already generates the necessary methods,
4445
and we just have to make use of them. Unfortunately in Scala 2.10.0 it's impossible to simplify this even further - for every case class
4546
you have manually define an implicit `Iso` instance.
4647

0 commit comments

Comments
 (0)
0