Skip to content

Instantly share code, notes, and snippets.

@greenrd
Created May 4, 2015 19:20
Show Gist options
  • Save greenrd/1b2824aae85b1c4219b3 to your computer and use it in GitHub Desktop.
Save greenrd/1b2824aae85b1c4219b3 to your computer and use it in GitHub Desktop.
Set existential quantification working
trait Id[E]
class C[TC[_[_]]] {
val d: Set[Id[I] forSome { type I }] = ???
d.contains((???): Id[TC[Id]])
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment