Skip to content

Commit

Permalink
Correct mtl-2.3 compatibility fix that does not require CPP
Browse files Browse the repository at this point in the history
  • Loading branch information
lehins committed Oct 31, 2024
1 parent 00003fc commit 49fbc3c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Weigh.hs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
{-# LANGUAGE DeriveTraversable #-}
{-# LANGUAGE DeriveFoldable #-}
{-# LANGUAGE DeriveFunctor #-}
{-# LANGUAGE CPP #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE ExistentialQuantification #-}
{-# LANGUAGE ViewPatterns #-}
Expand Down Expand Up @@ -75,10 +74,8 @@ module Weigh
import Control.Applicative
import Control.Arrow
import Control.DeepSeq
#if MIN_VERSION_base(4,18,0)
import Control.Monad (unless)
#endif
import Control.Monad.State
import Control.Monad.State (State, execState, get, gets, modify)
import Criterion.Measurement
import qualified Data.Foldable as Foldable
import qualified Data.List as List
Expand Down

0 comments on commit 49fbc3c

Please sign in to comment.