Replies: 2 comments
-
Hm, just plain |
Beta Was this translation helpful? Give feedback.
-
It is possible to ask for the constraint in the constructor so that the compiler knows the Note that |
Beta Was this translation helpful? Give feedback.
-
I'm trying to do something like:
But getting
scala.compiletime.ops.int.ToDouble[H] is not a constant type; cannot take constValue
. Is there some trick that would allow me to define such type? :)Beta Was this translation helpful? Give feedback.
All reactions