Restrict the interpretation of locally constant to `f(t)` where f is a locally constant function to be on the safe side.