Skip to content

Instantly share code, notes, and snippets.

View yipjustin's full-sized avatar

Justin Yip yipjustin

  • leap.ai
  • Silicon Valley
View GitHub Profile
@yipjustin
yipjustin / gist:176c412018897d899248
Last active August 29, 2015 14:02
Scala Manifest
def f() {
class T[X : Manifest]
classOf[T[Double]].newInstance
}
def g() {
class S[X]
classOf[S[Double]].newInstance
}