Elm has no runtime exceptions - which is really cool, the type system prevents me from coding things that can fail at runtime. But what about integer division by zero?
I have not tried it, but as Ints are translated as numbers in the javavscript, I think diving by zero will return me a floating point Infinity, yes? Should division force you to deal with failures like this case (a / b) of Integer val -> ... DivideByZero -> ... -- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
