@@ -30,7 +30,8 @@ main = do
3030 ("x:=true where true and true", Right relationTrue),
3131 ("x:=true=true", Right relationTrue),
3232 ("x:=true=false", Right relationFalse),
33− ("x:=relation {b int, a char}; insert x relation{tuple{b int(5), a char(\"spam\")}}", mkRelation simpleCAttributes (HS.fromList [RelationTuple $ M.fromList [("a", StringAtom "spam"), ("b", IntAtom 5)]]))
33+ ("x:=relation {b int, a char}; insert x relation{tuple{b int(5), a char(\"spam\")}}", mkRelation simpleCAttributes (HS.fromList [RelationTuple $ M.fromList [("a", StringAtom "spam"), ("b", IntAtom 5)]])),
34+ ("x:=relation{tuple{b int(5),a char(\"spam\")},tuple{b int(6),a char(\"sam\")}}; delete x where b=6", mkRelation simpleCAttributes $ HS.fromList [RelationTuple $ M.fromList [("a", StringAtom "spam"), ("b", IntAtom 5)]])
3435 ]
3536 simpleAAttributes = M.fromList [("a", Attribute "a" IntAtomType)]
3637 simpleBAttributes = M.fromList [("d", Attribute "d" IntAtomType)]