# for expression over enumerables class ForExprEnum def main is shared a = for i in [1, 2, 3] get i*10 assert a == [10, 20, 30] b = for j in 'aeiou' get j assert b == [c'a', c'e', c'i', c'o', c'u'] c = ['how', 'now', 'brown', 'cow'] d = for k in c where k.endsWith('ow') get k assert d == ['how', 'now', 'cow'] d = for k in c where not k.endsWith('ow') get k assert d == ['brown']