Skip to content

Commit

Permalink
saw-script: Fix ambiguous occurrence of unzip function
Browse files Browse the repository at this point in the history
`base-4.19.0.0` (GHC 9.8) adds `unzip` to `Data.Functor`, which clashes with
the `unzip` function defined in `Data.List`. We resolve the ambiguity by using
explicit imports from `Data.Functor` to avoid importing `Data.Functor.unzip`.
  • Loading branch information
RyanGlScott committed Aug 21, 2024
1 parent 7f42851 commit 8335e25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SAWScript/Crucible/LLVM/FFI.hs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ import Control.Monad
import Control.Monad.Trans
import Data.Bits (finiteBitSize)
import Data.Foldable
import Data.Functor
import Data.Functor ((<&>))
import Data.List
import Data.List.NonEmpty (NonEmpty (..))
import qualified Data.List.NonEmpty as NE
Expand Down

0 comments on commit 8335e25

Please sign in to comment.