Skip to content

Commit

Permalink
backwards compatible import of liftA2
Browse files Browse the repository at this point in the history
  • Loading branch information
owestphal committed Aug 27, 2024
1 parent 4ca2d71 commit 3b33001
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Test/IOTasks/Internal/Term.hs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ import Data.Map (Map)
import qualified Data.Map as Map (lookup)
import Data.Maybe ( fromMaybe, mapMaybe, maybeToList )

import Control.Applicative (liftA2) -- not redundant for base-4.17.x.x and below!

Check warning on line 33 in src/Test/IOTasks/Internal/Term.hs

View workflow job for this annotation

GitHub Actions / build

The import of ‘Control.Applicative’ is redundant

import Test.IOTasks.Internal.Overflow
import Test.IOTasks.ValueMap as ValueMap
import Test.IOTasks.Var
Expand Down
1 change: 1 addition & 0 deletions src/Test/IOTasks/Z3.hs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import Z3.Base (Goal)

import Test.QuickCheck (generate, vectorOf, elements)

import Control.Applicative (liftA2) -- not redundant for base-4.17.x.x and below!

Check warning on line 31 in src/Test/IOTasks/Z3.hs

View workflow job for this annotation

GitHub Actions / build

The import of ‘Control.Applicative’ is redundant
import Control.Concurrent.STM

import Control.Monad
Expand Down

0 comments on commit 3b33001

Please sign in to comment.