Since there was recent discussion about a canonical name for the apply operator, I’d like to hear your suggestions.
I’m opening up a new thread because realistically, andThen
won’t go anywhere and is quite a fine name in my opinion.
But whatever, this is not in any way an official poll, rather I just find myself brainstorming what a good name would be.
I’m planning a writeup in a gist.
I’ll later add some pros and cons I think. Keep in mind that this may be very subjective, so let me know if you disagree with some points I note!
If our taste diverges too much on a particular point, I’ll mark it as such or delete it.
So to make a start, I added some alternatives already mentioned in the aforementioned thread and elaborated on my own current favorite: andAlso
.
Apart from suggesting names, you could also suggest criteria. Here is a list of what I tried (will try) to evaluate against.
I don’t have any collaborative experience with gists, but either PR the gist or post your suggestions here.
Let’s have some organized thoughts!
Some references:
--
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...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
It establishes its connection to map, and also its connection to andThen. The and implies that its' sequencing, and that it's something you can use over and over again, which you can. The map implies that there's some sort of lifting going on, which there is.seemed really nice.I loved `andMap`. The chains off `map` g `andMap` h ...