This might be a pretty simple question, but how to I apply an atom to every item in a list? For example, if I would like to get the length of each string in a list. I tried this but that returns the number of strings
I have an idea for a powerful pair of quicks, I think: “minimals” and “maximals”. Given a list of strings, LÐṀ keeps the ones that have maximal length.
Essentially, ÇÐṀ is Ç€M$ị$ is lambda z: [x for x in z if Ç(x) == max(map(Ç, z))].
And ÐṂ would work similarly. I’m going to implement them