Skip to content

Commit

Permalink
Fix Unique Relation
Browse files Browse the repository at this point in the history
  • Loading branch information
hanjoosten committed May 13, 2023
1 parent 7947e31 commit 26b3c86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ampersand/Core/AbstractSyntaxTree.hs
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ instance Ord Relation where

instance Unique Relation where
showUnique :: Relation -> Text1
showUnique = showWithSign
showUnique x = toText1Unsafe ("Relation_" <> (tshow . abs . hash . text1ToText . showWithSign) x)

instance Hashable Relation where
hashWithSalt s Relation {dechash = v} = s `hashWithSalt` v
Expand Down

0 comments on commit 26b3c86

Please sign in to comment.