stateful callable mapping