diff --git a/web/advanced-types.textile b/web/advanced-types.textile index 3d3ea62c..cf23059a 100644 --- a/web/advanced-types.textile +++ b/web/advanced-types.textile @@ -23,6 +23,8 @@ Sometimes you don't need to specify that one type is equal/sub/super another, ju *Implicit* functions allow automatic conversion. More precisely, they allow on-demand function application when this can help satisfy type inference. e.g.:
+import scala.language.implicitConversions
+
 scala> implicit def strToInt(x: String) = x.toInt
 strToInt: (x: String)Int