We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7029b0 commit bcdae19Copy full SHA for bcdae19
1 file changed
src/Crypto/JWT.hs
@@ -221,7 +221,7 @@ instance AsError JWTError where
221
-- contains a @:@ but does not parse as a 'URI'. Use 'stringOrUri'
222
-- directly in this situation.
223
--
224
-data StringOrURI = Arbitrary T.Text | OrURI URI deriving (Eq, Show)
+data StringOrURI = Arbitrary T.Text | OrURI URI deriving (Eq, Show, Ord)
225
226
-- | Non-total. A string with a @':'@ in it MUST parse as a URI
227
instance Data.String.IsString StringOrURI where
0 commit comments