search @pSee searchTC and SearchableTC for a version that isn't ambiguously typed, but only works when p is a type constructor.
searchTC :: Sing x -> Decision (Σ v (TyPP T x))That, given an x :: k, we can decide whether or not a y :: v exists that satisfies T x y. Is essentially Searchable, except with type constructors k -> Type instead of matchable type-level functions (that are k ~> Type). Useful because searchTC doesn't require anything fancy like TypeApplications to use.