Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
sheaf
GHC
Commits
3b22b14a
Commit
3b22b14a
authored
Mar 17, 2020
by
Shayne Fletcher
🥝
Committed by
Marge Bot
Jun 10, 2020
Browse files
Give Language a Bounded instance
parent
7a737e89
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/GHC/Driver/Flags.hs
View file @
3b22b14a
...
...
@@ -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
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment