1
0
forked from GitHub/gf-core

added missing case

This commit is contained in:
Krasimir Angelov
2025-03-07 08:57:55 +01:00
parent d97292cfd4
commit c9aadf7382

View File

@@ -419,6 +419,7 @@ composOp co trm =
ImplArg t -> liftM ImplArg (co t)
Markup t as cs -> liftM2 (Markup t) (mapAttrs co as) (mapM co cs)
Reset c t -> liftM (Reset c) (co t)
Typed t ty -> liftM2 Typed (co t) (co ty)
_ -> return trm -- covers K, Vr, Cn, Sort, EPatt
composSafePattOp op = runIdentity . composPattOp (return . op)