Skip to content

Instantly share code, notes, and snippets.

@greenrd
Created May 4, 2015 19:20
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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