This page is no longer maintained — Please continue to the home page at www.scala-lang.org

unboxing implicit conversions ?

No replies
Daniel Mahler
Joined: 2009-05-25,
User offline. Last seen 1 year 24 weeks ago.

Predef contains boxing implicit conversions like double2Double,
but not the reverse unboxing counterparts.
Is this by design?
Are they defined elsewhere?
There are only a handful of scalar types so
it is easy to do it yourself,
but it would be nice if there was a standard location for them.

cheers
Daniel

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland