lindahua / Devectorize.jl

A Julia framework for delayed expression evaluation
MIT License
115 stars 17 forks source link

Support `in` #23

Open tshort opened 11 years ago

tshort commented 11 years ago

This may have similar issues as supporting ?, but here goes... It'd be nice to support in, in the following ways:

a = [1:10]
b = rand(10)
@devec c = in(a, 4:8)
@devec d = a in 4:8