Skip to content

Commit

Permalink
Enum, Bounded instances for Priority
Browse files Browse the repository at this point in the history
Addresses #13
  • Loading branch information
jcristovao authored and jgoerzen committed May 16, 2015
1 parent 1d91d8e commit aa5d05c
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 aa5d05c

Please sign in to comment.