It seems to me that a maturing language such as Elm requires first-class 
support for Rational numbers.  There is a very solid start in imeckler/ratio 
<https://github.com/imeckler/ratio> but a couple of things are starting to 
concern me:


   - There is (as yet) no version of this library for 0.18
   - I'd like to see support for arithmetic expressions of mixed types 
   (particularly between Ints and Rationals) with unobtrusive syntax.  I 
   realise that this is tricky because of the absence of typeclasses, but I'd 
   like to know what people think might eventually be an idiomatic Elm-like 
   way to achieve this. 

Anyway, I was wondering if it were an appropriate time for elm-community to 
adopt Rationals.

-- 
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 elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to