> > What do you think about my suggestion in previous reply ? replacing > List.range with List.(..) operator ?
Forgive me if somebody has already pointed this out, but it is very easy to write such a function yourself. (..) : Int -> Int -> List Int > (..) a b = List.range a b > If this is something that people are interested in, I think it's worth adding to elm-community/list-extra <http://package.elm-lang.org/packages/elm-community/list-extra/latest> On Mon, Nov 14, 2016 at 1:29 PM, أحمد حبنكة <[email protected]> wrote: > What do you think about my suggestion in previous reply ? replacing > List.range with List.(..) operator ? > > > بتاريخ الاثنين، 14 نوفمبر، 2016 2:43:49 ص UTC+2، كتب Max Goldstein: >> >> Sometimes it's useful to pass arguments to List.range and have it be >> empty when a > b. >> >> Perhaps there should be *List.rangeWithStep 5 1 -1* to solve your >> problem. >> > -- > 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. > -- 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.
