auto v = [1,2,3]; auto r = range(v); for_each(r, fun(x) { assert_equal(true, x>0); } )