Last active
April 7, 2017 16:23
-
-
Save jto/9560f0109a441921535af9e89f36ad61 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trait Foo[A] | |
type Alias[A] = List[Foo[A]] | |
trait Test1[C[_]] | |
implicit def test1[C[_]]: Test1[C] = new Test1[C]{} | |
implicitly[Test1[Alias]] // Compiles fine | |
implicitly[Test1[λ[α => List[Foo[α]]]]] // Does not compile: could not find implicit value for parameter e: Test1[[α]List[Foo[α]]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment