Utility to convert a Signal into a behavior whose values are interpreted as the piecewise function of the values of the Signal.