@@ -17,7 +17,7 @@ import qualified ProjectM36.TypeConstructorDef as TCD
1717import qualified ProjectM36.DataConstructorDef as DCD
1818import qualified Data.Text as T
1919import Data.Either (isRight)
20−import Debug.Trace
20+--import Debug.Trace
2121
2222attributes :: Relation -> Attributes
2323attributes (Relation attrs _ ) = attrs
@@ -77,7 +77,7 @@ singletonTuple rel@(Relation _ tupleSet) = if cardinality rel == Finite 1 then
7777union :: Relation -> Relation -> Either RelationalError Relation
7878union (Relation attrs1 tupSet1) (Relation attrs2 tupSet2) =
7979 if not (A.attributesEqual attrs1 attrs2)
80− then Left $ AttributeNamesMismatchError (A.attributeNameSet (A.attributesDifference (traceShowId attrs1) (traceShowId attrs2)))
80+ then Left $ AttributeNamesMismatchError (A.attributeNameSet (A.attributesDifference attrs1 attrs2))
8181 else
8282 Right $ Relation attrs1 newtuples
8383 where