Skip to content
This repository was archived by the owner on Oct 4, 2020. It is now read-only.

Commit 9b8fe06

Browse files
committed
Merge pull request #16 from zudov/fixed-eq
Add missing equality test on SString
2 parents 758fc6a + ab408c9 commit 9b8fe06

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Data/Generic.purs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ instance eqGeneric :: Eq GenericSpine where
181181
eq (SNumber x) (SNumber y) = x == y
182182
eq (SBoolean x) (SBoolean y) = x == y
183183
eq (SChar x) (SChar y) = x == y
184+
eq (SString x) (SString y) = x == y
184185
eq (SArray xs) (SArray ys) = length xs == length ys && zipAll (\x y -> x unit == y unit) xs ys
185186
eq _ _ = false
186187

0 commit comments

Comments
 (0)