You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Welcome to Scala version 2.11.7 (JavaHotSpot(TM) 64-BitServerVM, Java1.8.0_45).
Type in expressions to have them evaluated.
Type:help for more information.
scala>implicitdefimpl[I[_]]:{typeF[X] = { typeSelf=I[X] }} =new {typeF[X] = { typeSelf=I[X] }}
warning: there was one feature warning; re-run with-feature for details
impl: [I[_]]=>AnyRef{typeF[X] =AnyRef{typeSelf=I[X]}}
scala> implicitly[{typeF[X] = { typeSelf=Iterable[X] }}]
<console>:12:error: could not find implicit value for parameter e: AnyRef{typeF[X] =AnyRef{typeSelf=Iterable[X]}}
implicitly[{typeF[X] = { typeSelf=Iterable[X] }}]
^
The text was updated successfully, but these errors were encountered:
scala> implicitly[{typeF[X] = { typeSelf=Iterable[X] }}](impl)
<console>:9:error: kinds of the typearguments (Iterable[X]) do not conform to the expected kinds of the typeparameters (typeI).
Iterable[X]'stypeparametersdo not matchtypeI's expected parameters:
typeIterable has one typeparameter, but typeI has one
implicitly[{typeF[X] = { typeSelf=Iterable[X] }}](impl)
^
scala>impl : {typeF[X] = { typeSelf=Iterable[X] }}
<console>:9:error: kinds of the typearguments (Iterable[X]) do not conform to the expected kinds of the typeparameters (typeI).
Iterable[X]'stypeparametersdo not matchtypeI's expected parameters:
typeIterable has one typeparameter, but typeI has one
impl : {typeF[X] = { typeSelf=Iterable[X] }}
^
scala> impl[Iterable] : {typeF[X] = { typeSelf=Iterable[X] }}
scala.NotImplementedError: an implementation is missing
at scala.Predef$.$qmark$qmark$qmark(Predef.scala:225)
The text was updated successfully, but these errors were encountered: