Skip to content

Commit 60937f9

Browse files
committed
Add Ord instance for JSONPathElement
1 parent afd3673 commit 60937f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Data/Aeson/Types/Internal.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ data JSONPathElement = Key Text
114114
| Index {-# UNPACK #-} !Int
115115
-- ^ JSON path element of an index into an
116116
-- array, \"array[index]\".
117-
deriving (Eq, Show, Typeable)
117+
deriving (Eq, Show, Typeable, Ord)
118118
type JSONPath = [JSONPathElement]
119119

120120
-- | The internal result of running a 'Parser'.

0 commit comments

Comments
 (0)