Skip to content

Instantly share code, notes, and snippets.

@jto
Last active April 7, 2017 16:23
Show Gist options
  • Save jto/9560f0109a441921535af9e89f36ad61 to your computer and use it in GitHub Desktop.
Save jto/9560f0109a441921535af9e89f36ad61 to your computer and use it in GitHub Desktop.
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