Commit 3b22b14a authored by Shayne Fletcher's avatar Shayne Fletcher 🥝 Committed by Marge Bot
Browse files

Give Language a Bounded instance

parent 7a737e89
......@@ -519,8 +519,7 @@ instance ToJson WarnReason where
data Language = Haskell98 | Haskell2010
deriving (Eq, Enum, Show)
deriving (Eq, Enum, Show, Bounded)
instance Outputable Language where
ppr = text . show
Supports Markdown
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