Skip to content

Commit b832a43

Browse files
committed
Modernize the dep that provides imap to make Stackage happy
1 parent a9a9664 commit b832a43

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

horde-ad.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ library
177177
, enummapset < 0.8
178178
, ghc-typelits-knownnat < 1
179179
, ghc-typelits-natnormalise < 1
180-
, ilist < 0.5
180+
, indexed-traversable < 0.2
181181
, orthotope < 0.2
182182
, ox-arrays < 0.2
183183
, random >= 1.3.0 && < 1.4

src/HordeAd/Core/OpsConcrete.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ import Control.Exception.Assert.Sugar
1414
import Data.Coerce (Coercible, coerce)
1515
import Data.Foldable qualified as Foldable
1616
import Data.Function ((&))
17+
import Data.Functor.WithIndex (imap)
1718
import Data.Int (Int64)
1819
import Data.List (foldl', mapAccumL, mapAccumR)
19-
import Data.List.Index (imap)
2020
import Data.List.NonEmpty qualified as NonEmpty
2121
import Data.Map.Strict qualified as M
2222
import Data.Proxy (Proxy (Proxy))

0 commit comments

Comments
 (0)