cute icon indicating copy to clipboard operation
cute copied to clipboard

Support for conditionals at any level of looping

Open lynlevenick opened this issue 7 years ago • 0 comments

It would be nice to be able to write a conditional at any location in the expression, e.g. c![a + b, for a in some_vec, if a % 5 < 2, for b in 0..10]. This could work well with generators (#1) to reduce nested computations, though I'm not sure how well that would end up vectorizing if at all.

lynlevenick avatar Aug 14 '17 08:08 lynlevenick