subFilter is a behavior (since we're lifting it, it must be a
behavior). Moreover, subFilter is a behavior of objects, x with a
field x.pred, which is itself a behavior.
Do you see why this is problem? Once you understand the problem, I
think switchB will make more sense, since it solves this "behavior
inside a behavior" problem.