mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-08-20 03:06:25 -06:00
fix compiling PTilde patterns
This commit is contained in:
@@ -53,7 +53,7 @@ compileEquations gr arity st (i:is) eqs fl bs = whilePP eqs Map.empty
|
|||||||
whilePV ((vs, PV x : ps, t):eqs) vrs
|
whilePV ((vs, PV x : ps, t):eqs) vrs
|
||||||
| x == identW = whilePV eqs (( vs,ps,t) : vrs)
|
| x == identW = whilePV eqs (( vs,ps,t) : vrs)
|
||||||
| otherwise = whilePV eqs (((x,i):vs,ps,t) : vrs)
|
| otherwise = whilePV eqs (((x,i):vs,ps,t) : vrs)
|
||||||
whilePV ((vs, PTilde _ : ps, t):eqs) vrs = whilePV eqs (( vs,ps,t) : vrs)
|
whilePV ((vs, PTilde _ : ps, t):eqs) vrs = whilePV ((vs,ps,t) : eqs) vrs
|
||||||
whilePV ((vs, PImplArg p:ps, t):eqs) vrs = whilePV ((vs,p:ps,t):eqs) vrs
|
whilePV ((vs, PImplArg p:ps, t):eqs) vrs = whilePV ((vs,p:ps,t):eqs) vrs
|
||||||
whilePV ((vs, PT _ p : ps, t):eqs) vrs = whilePV ((vs,p:ps,t):eqs) vrs
|
whilePV ((vs, PT _ p : ps, t):eqs) vrs = whilePV ((vs,p:ps,t):eqs) vrs
|
||||||
whilePV eqs vrs = let fl1 = Just (st,length bs1)
|
whilePV eqs vrs = let fl1 = Just (st,length bs1)
|
||||||
|
|||||||
Reference in New Issue
Block a user