Skip to content

Commit 142fbf3

Browse files
committed
updated mempty build error; updated cabal file to remove depricated flens flag
Signed-off-by: buckie <[email protected]>
1 parent 4b8ba6c commit 142fbf3

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
/dist/
2+
dump/
23
.stack-work/

src/Data/Thyme/Clock/TAI.hs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ import Prelude
4141
#if !MIN_VERSION_base(4,8,0)
4242
import Control.Applicative
4343
#endif
44+
#if __GLASGOW_HASKELL__ < 710
45+
import Data.Monoid (mempty)
46+
#endif
4447
import Control.DeepSeq
4548
import Control.Lens
4649
import Control.Monad
@@ -354,4 +357,3 @@ utcToTAITime = view . absoluteTime
354357
{-# INLINE taiToUTCTime #-}
355358
taiToUTCTime :: TAIUTCMap -> AbsoluteTime -> UTCTime
356359
taiToUTCTime = review . absoluteTime
357-

src/Data/Thyme/Format.hs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ import Control.Applicative
3030
#if SHOW_INTERNAL
3131
import Control.Arrow
3232
#endif
33+
#if __GLASGOW_HASKELL__ < 710
34+
import Data.Monoid (mempty)
35+
#endif
3336
import Control.Lens
3437
import Control.Monad.Trans
3538
import Control.Monad.State.Strict

thyme.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ flag bug-for-bug
3232
manual: True
3333

3434
flag docs
35-
description: include extra packages for Data.Thyme.Docs; implies -flens
35+
description: include extra packages for Data.Thyme.Docs
3636
default: False
3737
manual: True
3838

0 commit comments

Comments
 (0)