-- Match
type family Match node g
-type instance Match node (Graph g) = Match' (M.Lookup node g) node (Graph g)
+type instance Match node (Graph g) = Match' (M.Lookup node g) node g
type family Match' mContext node g
-type instance Match' Nothing node g = Decomp Nothing g
-type instance Match' (Just (Context p node' label s)) node (Graph g)
+type instance Match' Nothing node g = Decomp Nothing (Graph g)
+type instance Match' (Just (Context p node' label s)) node g
= Decomp (Just (Context (M.Delete node p)
node
label