Added notion of partialLeft and partialRight