mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-20 00:22:51 -06:00
record labels in compiler experiment
This commit is contained in:
@@ -52,8 +52,6 @@ eval e = case e of
|
||||
---- pattern match first
|
||||
return $ compVal [] $ VPro t' v' ---- []
|
||||
|
||||
EPro t v -> do
|
||||
EPro t v@(Lab _ i) -> do
|
||||
t' <- eval t
|
||||
---- project first
|
||||
return $ VPro t' (VPar 666) ---- lookup label
|
||||
|
||||
return $ compVal [] $ VPro t' (VPar i)
|
||||
|
||||
Reference in New Issue
Block a user