Category Archives: Zephyr
List Comprehensions
Effective today, Sailthru now supports Python-style list comprehensions in our Zephyr syntax.
What’s a list comprehension? Basically, it’s an elegant way to run through a list, filtering out items that don’t match a criteria, and possibly applying a transformation to each item in the list.
Why’d we add it, besides the fact that list comprehensions are cool? Mostly because it’s been a bit awkward in the… Continue reading