Skip to content

Commit

Permalink
Derive more type clases for PollStatus types
Browse files Browse the repository at this point in the history
  • Loading branch information
mightybyte committed Aug 27, 2014
1 parent 21e5942 commit 5822933
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Snap/Extras/PollStatus.hs
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ type JobId = Text
------------------------------------------------------------------------------
-- | Enumeration of the states a job can be in.
data JobState = Pending | Running | FinishedSuccess | FinishedFailure
deriving (Show,Eq)
deriving (Eq,Show,Read,Enum)


------------------------------------------------------------------------------
Expand All @@ -241,7 +241,7 @@ data Status = Status
, statusMessages :: [Text]
, statusAmountCompleted :: Double
, statusAmountTotal :: Double
}
} deriving (Eq,Show)


------------------------------------------------------------------------------
Expand Down

0 comments on commit 5822933

Please sign in to comment.