Skip to content

Instantly share code, notes, and snippets.

@pjazdzewski1990
Last active February 25, 2016 09:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pjazdzewski1990/02f695cb62214693e36a to your computer and use it in GitHub Desktop.
Save pjazdzewski1990/02f695cb62214693e36a to your computer and use it in GitHub Desktop.
scala> q"(x: Double) => -x"
res0: reflect.runtime.universe.Function = ((x: Double) => x.unary_$minus)
scala> show(res0)
res1: String = ((x: Double) => x.unary_$minus)
scala> showRaw(res1)
res2: String = Function(...), Select(Ident(TermName("x")), TermName("unary_$minus")))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment