Skip to content

Commit

Permalink
fix: import Semigroup on older versions of base
Browse files Browse the repository at this point in the history
  • Loading branch information
414owen committed Nov 12, 2023
1 parent e922d44 commit e333d33
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Text/Pandoc/Builder/Monadic/Internal.hs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{-# LANGUAGE CPP #-}
{-# LANGUAGE FlexibleInstances #-}

{-|
Expand All @@ -21,6 +22,9 @@ import Control.Monad.Writer.Strict (Writer, execWriter, tell)
import Data.DList (DList)
import Data.Foldable (traverse_)
import Text.Pandoc.Builder (Inline)
#if __GLASGOW_HASKELL__ < 804
import Data.Semigroup
#endif

import qualified Text.Pandoc.Builder as B
import qualified Data.DList as DList
Expand Down

0 comments on commit e333d33

Please sign in to comment.