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
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
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
I did a lot of work in ember myself, and I feel your pain, but this is
still a 0.x product, and so it should be expected that some breakage is
performed while we reach the best possible state of the language. It's
different for Ember, which had a lot of breakage post 1.0.
tirsdag 25. oktober
>
> 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
As people pointed out - it's a BDFL call, but it feels to me that this is
the closest candidate to the spirit of the recent 'Let's go mainstream'
BDFL calls.
(Assuming that foldRight is sufficiently less commonly used so as to not
make the ample suffix 'Right' burdensome, and the lack of
fold and foldRight then?
tirsdag 25. oktober 2016 11.42.00 UTC+2 skrev Wouter In t Velt følgende:
>
> Op dinsdag 25 oktober 2016 02:20:29 UTC+2 schreef Max Goldstein:
>>
>> Changing things makes upgrading harder, invalidates old code, and gives
>> the larger community the impression that Elm is
Op dinsdag 25 oktober 2016 02:20:29 UTC+2 schreef Max Goldstein:
>
> Changing things makes upgrading harder, invalidates old code, and gives
> the larger community the impression that Elm is not stable.
>
The question is whether different naming for "foldl" and "foldr" would
bring enough
On Tue, Oct 25, 2016 at 3:20 AM, Max Goldstein
wrote:
> It really comes down to what Evan wants to do. People come to Elm from
> many languages, and everyone has preferences. Changing things makes
> upgrading harder, invalidates old code, and gives the larger community
I would love more Ruby-like names across the board, except for the presence of
aliases, but Elm grew out of Haskell so it carries some of that history.
It really comes down to what Evan wants to do. People come to Elm from many
languages, and everyone has preferences. Changing things makes
> On Oct 20, 2016, at 9:12 AM, Robin Heggelund Hansen
> wrote:
>
> In Elm 0.18, primes are being removed as valid characters in a
> variable/function name.
That’s unfortunate. Non-alphabetical characters can be really useful for
signaling intent.
For example, an
I would be strongly opposed to renaming either foldl or foldr to just fold;
that always confuses me when languages do it.
martin
On Thu, Oct 20, 2016 at 8:32 AM, Max Goldstein
wrote:
> Normally I'm opposed to syntax or name changes. But I think this or some
> variation
Normally I'm opposed to syntax or name changes. But I think this or some
variation is a good idea. (Maybe foldl becomes fold, since it's usually the one
you want.)
That said, it's all subject to Evan's approval.
--
You received this message because you are subscribed to the Google Groups
In Elm 0.18, primes are being removed as valid characters in a
variable/function name. The reason being, which I whole heartedly agree
with, that removing primes will incentivize people to write proper names,
and also because the difference between model and model' isn't always easy
to spot.
14 matches
Mail list logo