Commit cc291ed7 authored by Shayne Fletcher's avatar Shayne Fletcher 🥝

Derive Ord instance for Extension

Metric Increase:
   T12150
   T12234
parent ec77b2f1
Pipeline #18249 canceled with stages
in 5 minutes and 4 seconds
Subproject commit fe4166f8d23d8288ef2cbbf9e36118b6b99e0d7d
Subproject commit 0a1f9ff0f407da360fc9405a07d5d06d28e6c077
......@@ -145,3 +145,7 @@ data Extension
| CUSKs
| StandaloneKindSignatures
deriving (Eq, Enum, Show, Generic, Bounded)
-- 'Ord' and 'Bounded' are provided for GHC API users (see discussions
-- in https://gitlab.haskell.org/ghc/ghc/merge_requests/2707 and
-- https://gitlab.haskell.org/ghc/ghc/merge_requests/826).
instance Ord Extension where compare a b = compare (fromEnum a) (fromEnum b)
Subproject commit a01843250166b5559936ba5eb81f7873e709587a
Subproject commit 1127b30e1e0affa08f056e35ad17957b12982ba3
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment