i'm walking a bit slow but i'm walking ... so, what about list comprehension? Is this supported (or it is planned that Cobra support)?
Tk u again.
Forums
List comprehension
2 posts
• Page 1 of 1
Re: List comprehension
Yes, the syntax is covered at http://cobra-language.com/docs/manual/expressions/for.html
I use them myself when writing the compiler.
I also recommend drilling down through the topics at http://cobra-language.com/docs/manual/
There is not much there, but I avoided the boring stuff like "+ is for addition" and stuck to things that people are likely to ask about.
-Chuck
I use them myself when writing the compiler.
I also recommend drilling down through the topics at http://cobra-language.com/docs/manual/
There is not much there, but I avoided the boring stuff like "+ is for addition" and stuck to things that people are likely to ask about.
-Chuck
- Charles
- Posts: 2515
- Location: Los Angeles, CA
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 15 guests