mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-06 01:32:50 -06:00
Use rec and sig for records.
This commit is contained in:
@@ -123,7 +123,6 @@ eval env x = case x of
|
||||
_ -> error $ printValue v ++ " is not a record, "
|
||||
++ "cannot get field " ++ printTree id
|
||||
|
||||
EEmptyRec -> VRec []
|
||||
ERecType fts -> VRec $! deepSeqList $! [v `seq` (f,v) | FieldType f e <- fts,
|
||||
let v = eval env e]
|
||||
ERec fvs -> VRec $! deepSeqList $! [v `seq` (f,v) | FieldValue f e <- fvs,
|
||||
|
||||
Reference in New Issue
Block a user