If you have such a case where correctness is much more important than 
ergonomics, nothing is stopping you from creating your own type that 
performs maths safely and using it through out your app. 

For many apps the ergonomic impact of that would be too large, so this is 
not done.

On Tuesday, 21 February 2017 11:22:54 UTC, Rupert Smith wrote:
>
> On Tuesday, February 21, 2017 at 2:19:33 AM UTC, Max Goldstein wrote:
>>
>> I don't think anyone likes that 2 // 0  == 0, but no one has a better 
>> idea.
>>
>
> I have a better idea. Make it a runtime error and halt the program. 
>

-- 
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.

Reply via email to