Skip to content

Commit

Permalink
revert change to this line. I bet it made sense at the time.
Browse files Browse the repository at this point in the history
  • Loading branch information
lahosken committed Aug 23, 2012
1 parent 7621b40 commit 1687960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/_posts/2011-05-06-lesson.textile
Expand Up @@ -75,7 +75,7 @@ Methods may ask for some kinds of specific "evidence" for a type without setting
|A <%< B|A must be viewable as B|

<pre>
scala> class Container[A](value: A) { def addIt(implicit evidence: A <:< Int) = 123 + value }
scala> class Container[A](value: A) { def addIt(implicit evidence: A =:= Int) = 123 + value }
defined class Container

scala> (new Container(123)).addIt
Expand Down

0 comments on commit 1687960

Please sign in to comment.