Bolio
Wednesday, 7 August 2013
How to find the type of a Scala expression
How to find the type of a Scala expression
Can I find out the type of an expression in Scala. This would be
particuarly useful when debugging complex partial functions, implicit
conversions, etc...
For example:
println( typeOf( x+y ) )
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment