Skip to content

Commit

Permalink
fix liftA2 import
Browse files Browse the repository at this point in the history
  • Loading branch information
spl committed Feb 17, 2024
1 parent 904cda5 commit 4dea254
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/QuickCheckUtil.hs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ module QuickCheckUtil where

-- CPP: GHC >= 8 for NonEmpty
#if __GLASGOW_HASKELL__ >= 800
-- CPP: GHC >= 9.6 for 'liftA2' exported from Prelude
#if __GLASGOW_HASKELL__ < 906
import Control.Applicative (liftA2)
#endif
import Data.List.NonEmpty (NonEmpty (..), nonEmpty)
import Data.Maybe (mapMaybe)
#endif
Expand Down

0 comments on commit 4dea254

Please sign in to comment.