Nov 12
One of the things I have in my Scala startup file is the following.
def show[T](implicit thetype:scala.reflect.Manifest[T]) { thetype.erasure.getMethods() foreach println } def help(x:AnyRef) { x.getClass().getMethods() foreach println }
These silly little functions are useful – at least, to me. Now when I can’t remember the name of a method I can type something like the following at the Scala prompt. Continue reading »
