Skip to content

Commit

Permalink
updated mempty build error; updated cabal file to remove depricated f…
Browse files Browse the repository at this point in the history
…lens flag

Signed-off-by: buckie <[email protected]>
  • Loading branch information
buckie committed Oct 23, 2016
1 parent 4b8ba6c commit a3b56e3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/dist/
dump/
.stack-work/
4 changes: 3 additions & 1 deletion src/Data/Thyme/Clock/TAI.hs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ import Prelude
#if !MIN_VERSION_base(4,8,0)
import Control.Applicative
#endif
#if __GLASGOW_HASKELL__ < 710
import Data.Monoid (mappend)
#endif
import Control.DeepSeq
import Control.Lens
import Control.Monad
Expand Down Expand Up @@ -354,4 +357,3 @@ utcToTAITime = view . absoluteTime
{-# INLINE taiToUTCTime #-}
taiToUTCTime :: TAIUTCMap -> AbsoluteTime -> UTCTime
taiToUTCTime = review . absoluteTime

3 changes: 3 additions & 0 deletions src/Data/Thyme/Format.hs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ import Control.Applicative
#if SHOW_INTERNAL
import Control.Arrow
#endif
#if __GLASGOW_HASKELL__ < 710
import Data.Monoid (mappend)
#endif
import Control.Lens
import Control.Monad.Trans
import Control.Monad.State.Strict
Expand Down
2 changes: 1 addition & 1 deletion thyme.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ flag bug-for-bug
manual: True

flag docs
description: include extra packages for Data.Thyme.Docs; implies -flens
description: include extra packages for Data.Thyme.Docs
default: False
manual: True

Expand Down

0 comments on commit a3b56e3

Please sign in to comment.