I've been trying to come up with a new unique list comprehension syntax for my toy language. I'm aiming mostly for readability without adding too many special characters/keywords. Any ideas?
@kyle what does the rest of your language look like?
[fn] each [element] of [list] is pretty readable for the basic case.
@kyle ah yes, I see my suggestion is way too keywordy!
@whtrbt I do like that, and it's not to far off from python. I'd like to avoid the special keywords if possible... using something that can be built in to the language.
I think it's a tricky balance but I'm really curious to what could be.
Merveilles is a community project aimed at the establishment of new ways of speaking, seeing and organizing information — A culture that seeks augmentation through the arts of engineering and design. A warm welcome to any like-minded people who feel these ideals resonate with them.