Skip to content

Commit

Permalink
🐛 Fix build on older compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
lsrcz committed Apr 7, 2024
1 parent 1e187b2 commit 37e3544
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/Grisette/Core/Data/Class/GPretty.hs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import qualified Control.Monad.Writer.Lazy as WriterLazy
import qualified Control.Monad.Writer.Strict as WriterStrict
import qualified Data.ByteString as B
import qualified Data.ByteString.Char8 as C
import Data.Functor.Const (Const)
import Data.Functor.Sum (Sum)
import Data.Int (Int16, Int32, Int64, Int8)
import Data.String (IsString (fromString))
Expand Down Expand Up @@ -80,7 +81,6 @@ import Prettyprinter
Doc,
Pretty(pretty),
)
import Data.Functor.Const (Const)
#else
import Data.Text.Prettyprint.Doc
( (<+>),
Expand Down
1 change: 0 additions & 1 deletion src/Grisette/Lib/Data/Function.hs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
module Grisette.Lib.Data.Function ((.$), (.&), mrgOn) where

import Data.Function (on)
import Grisette.Core.Control.Monad.UnionM (UnionM)
import Grisette.Core.Data.Class.Mergeable (Mergeable)
import Grisette.Core.Data.Class.PlainUnion (simpleMerge)
Expand Down

0 comments on commit 37e3544

Please sign in to comment.