Skip to content

Commit

Permalink
Enum, Bounded instances for Priority
Browse files Browse the repository at this point in the history
Addresses haskell-hvr#13
  • Loading branch information
jcristovao committed Jun 5, 2014
1 parent 83ddd55 commit 53b2d98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/System/Log.hs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ data Priority =
| CRITICAL -- ^ Severe situations
| ALERT -- ^ Take immediate action
| EMERGENCY -- ^ System is unusable
deriving (Eq, Ord, Show, Read)
deriving (Eq, Ord, Enum, Bounded, Show, Read)

{- | Internal type of log records -}

Expand Down

0 comments on commit 53b2d98

Please sign in to comment.