Skip to content

Commit

Permalink
Fix Semigroup not in Prelude
Browse files Browse the repository at this point in the history
  • Loading branch information
meooow25 committed Aug 6, 2024
1 parent 4a6c3da commit aa6ecd0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions containers/src/Utils/Containers/Internal/EqOrdUtil.hs
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
{-# LANGUAGE CPP #-}
module Utils.Containers.Internal.EqOrdUtil
( EqM(..)
, OrdM(..)
) where

#if !MIN_VERSION_base(4,11,0)
import Data.Semigroup (Semigroup(..))
#endif
import Utils.Containers.Internal.StrictPair

newtype EqM a = EqM { runEqM :: a -> StrictPair Bool a }
Expand Down

0 comments on commit aa6ecd0

Please sign in to comment.