montylang / monty

Language from a parallel universe where Python is functional
https://montylang.github.io/docs/
BSD 3-Clause "New" or "Revised" License
5 stars 0 forks source link

Should we have for comprehension? #3

Open elimirks opened 4 years ago

elimirks commented 4 years ago

It's not all that common in functional style, but it's common for Python programmers. Generally, using map and bind to create new lists is more FP-idiomatic