filter(x->mod(x,7)!=0,0:100)
On Monday, March 14, 2016 at 8:57:20 PM UTC+2, Lutfullah Tomak wrote: > > Hi, > I think you can do what you want with filter but it returns whole > collection > filter(x>mod(x,7)!=0,0:100) > > On Monday, March 14, 2016 at 8:49:06 PM UTC+2, Jesse Jaanila wrote: >> >> Hi >> >> How could I build range (UnitRange) that doesn't include elements given >> some condition? Like >> if i'd like to build a range that doesn't contain elements that are >> divisible by 7 ( x mod 7 == 0). >> Is this possible for ranges or do I have to use some other type (it >> should be iterable)? >> >