- class Repair p where
- class Apply p => RepairToFL p where
- mapMaybeSnd :: (a -> b) -> Maybe (c, a) -> Maybe (c, b)
- class Check p where
RepairToFL deal with repairing old patches that were
were written out due to bugs or that we no longer wish to support.
Repair is implemented by collections of patches (FL, Named, PatchInfoAnd) that
might need repairing.
RepairToFL is implemented by single patches that can be repaired (Prim, Patch, RealPatch)
There is a default so that patch types with no current legacy problems don't need to
have an implementation.