I'm an observer (not an Elm programmer) but these discussions are 
interesting to me. I guess the question Elm programmers have to ask 
themselves is what Elm's purpose is? Haskell/traditional Functional ML 
language in the browser? PureScript fits that mold already, but if so the 
recent changes and this one go against that. A functional ML language aimed 
at the general population? Then I agree with the changes for readability, 
though to be honest `foldr` and `foldRight` are pretty close so I'd opts 
for an alias until 1.0.0.

On Tuesday, October 25, 2016 at 12:18:00 PM UTC-4, Robin Heggelund Hansen 
wrote:
>
> Once, that I remember, after a refactoring. But this is more to do with 
> the ease of reading code. I've several times seen foldr and read foldl. In 
> general, I find names that differ by only a single letter a bad thing. Like 
> wether and whether. Sure, now that i've pointed out that there is a 
> difference here, it's easy enough to point it out. But given the proper 
> context it can be easy to confuse one with the other, especially when the 
> compiler (or the spell checker) don't point it out for you.
>
> tirsdag 25. oktober 2016 17.36.02 UTC+2 skrev Rupert Smith følgende:
>>
>> On Tuesday, October 25, 2016 at 1:45:35 PM UTC+1, James Hamilton wrote:
>>>
>>> I agree with your sentiment in principle. I suppose the underlying 
>>>> question is whether or not this is actually going to be such a benefit to 
>>>> future users of elm that it would be worth inconveniencing current users 
>>>> who want to upgrade. Personally I'm quite comfortable with foldr and foldl 
>>>> but I understand the foldLeft and foldRight are more expressive. 
>>>>
>>>
>>> I used to use ember and its constant churn drove me to find an 
>>> alternative which led me to elm. Not that the community elm behaves 
>>> anything like ember in this regard, but still this blog post 
>>> <https://medium.com/@frustrated_ember_developer/ember-js-another-year-of-churn-instability-and-festering-frustrations-4d01838361cb#.ha438hsub>
>>>  rather 
>>> sums up the danger of making a lot of inconvenient changes for apparently 
>>> abstract reasons. 
>>>
>>
>> Also, have you ever actually encountered a bug which was caused by 
>> misreading foldl for foldr or the other way around? I really don't find it 
>> hard to tell them apart. 
>>
>

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