mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-08-21 03:36:22 -06:00
composOp of options
This commit is contained in:
@@ -404,6 +404,7 @@ composOp co trm =
|
|||||||
RecType r -> liftM RecType (mapPairsM co r)
|
RecType r -> liftM RecType (mapPairsM co r)
|
||||||
P t i -> liftM2 P (co t) (return i)
|
P t i -> liftM2 P (co t) (return i)
|
||||||
ExtR a c -> liftM2 ExtR (co a) (co c)
|
ExtR a c -> liftM2 ExtR (co a) (co c)
|
||||||
|
Opts t os -> liftM2 Opts (co t) (mapM (pairM co) os)
|
||||||
T i cc -> liftM2 (flip T) (mapPairsM co cc) (changeTableType co i)
|
T i cc -> liftM2 (flip T) (mapPairsM co cc) (changeTableType co i)
|
||||||
V ty vs -> liftM2 V (co ty) (mapM co vs)
|
V ty vs -> liftM2 V (co ty) (mapM co vs)
|
||||||
Let (x,(mt,a)) b -> liftM3 let' (co a) (T.mapM co mt) (co b)
|
Let (x,(mt,a)) b -> liftM3 let' (co a) (T.mapM co mt) (co b)
|
||||||
|
|||||||
Reference in New Issue
Block a user