List comp support

added list comprehension support (cf #883)