(this vector.Any)
| 23 | } |
| 24 | |
| 25 | func (c *conditional) Eval(this vector.Any) vector.Any { |
| 26 | return vector.Apply(true, c.eval, c.predicate.Eval(this), this) |
| 27 | } |
| 28 | |
| 29 | func (c *conditional) eval(vecs ...vector.Any) vector.Any { |
| 30 | predVec, thisVec := vecs[0], vecs[1] |