4 ms·
Yes, Scala has that. There's a precedence, and ties are compile errors.It It won't apply more then one level of conversion, though you can perform recursive op
by paulddraper 10y ago
Yes, Scala has that. There's a precedence, and ties are compile errors.It
It won't apply more then one level of conversion, though you can perform recursive operations in the type system. Shapeless is a library that uses this for ad-hoc typesafe programming without boilerplate.