pmap -package:ghc -is:exact -package:typerep-map -package:plutarch

Like regular fmap but it provides key of each element that is being modified.
Similar to pmap, but allows elements to be thrown out. More precisely, for elements where the function argument returns PNothing, the corresponding element is removed, while for elements where the function argument returns PJust, the value is used in the result.
Given a projection from a type to another type which we have a PComparator for, construct a new PComparator.