My vote would be to keep both, because they probably cater to completely 
different use cases:

   - [ 1..5 ] = short and sweet syntax for people learning Elm, it makes 
   many examples shorter. From personal experience (coming from React + Flux + 
   some Python), this syntax saved me from looking up yet another function in 
   the docs while reading code, because it felt (at least to me) intuitive 
   what the syntax means.
   - List.range : Number -> Number -> List Number = for those actively 
   looking for a function to create a range of numbers (haven't had the need 
   in practice yet)

Also, current inners of the [a..b] syntax are a bit weird:

   - calculations start at b and works backwards, so [ 0.5..5 ] == [ 
   0,1,2,3,4,5 ]
   - a has to be smaller than b, so [ 5..1 ] == []

It would be good to have a List.range function with docs. And mention there 
that [ a..b ] is shorthand syntax for it.

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