avoid using value2termM

This commit is contained in:
Krasimir Angelov committed 2025-11-15 12:18:22 +01:00
1 parent d02eeb7568
commit 9263d1eb17
2 files changed
+14 -19

No files matched your search

+1 -1
View File
@@ -223,7 +223,7 @@ breakDown g ms c r rs v (Table p q) fn0 fn = do
return (ms,r+(r'-r)*cnt,fn0,fn)
where
select v0 (VT _ env s cs) v2 = patternMatch g s v0 (map (\(p,t) -> (env,[p],[v2],t)) cs)
select v0 (VV vty tvs) v2 = vtableSelect g v0 p tvs v2 []
select v0 (VV vty tvs) v2 = vtableSelect g v0 vty tvs v2 []
select v0 (VFV i fvs) v2 = VFV i (fmap (\v1 -> select v0 v1 v2) fvs)
select v0 (VMeta i vs) v2 = VSusp i (\v -> select v0 (apply g v vs) v2) []
select v0 (VSusp i k vs) v2 = VSusp i (\v -> select v0 (apply g (k v) vs) v2) []