Open jstolarek opened 7 years ago
At the moment I cannot mix doubles and integers:
slicer> 1 + 1 val it = 2 : int slicer> 1.0 + 1.0 val it = 2.0 : double slicer> 1 + 1.0 Desugaring error: Unknown op + at types [IntTy,DoubleTy]
We need some explicit conversions: toDouble, toInt.
toDouble
toInt
At the moment I cannot mix doubles and integers:
We need some explicit conversions:
toDouble
,toInt
.