pmap -is:exact -is:exact -is:exact -is:exact -package:plutarch-extra -is:module -package:plutarch package:liqwid-plutarch-extra

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.