Fix haddock link
commit27b9910b23548440aa8cee7d0b694fdfe811b0f2
authormniip <mniip@mniip.com>
dateMon 18 Nov 2024, 03:44 (2 years ago)
parenta370169
src/Data/HashMap/Common/Refined.hs+1−1
@@ -382,7 +382,7 @@ instance TraversableWithIndex (Key s k) (HashMap s k) where
382382 itraverse = traverseWithKey
383383
384384-- | Similar to the instance for functions -- zip corresponding keys. To use
385−-- '<*>'/'liftA2' without 'KnownSet' see 'zipWithKey'.
385+-- '<*>'/'Control.Applicative.liftA2' without 'KnownSet' see 'zipWithKey'.
386386instance (Hashable k, KnownHashSet s k) => Applicative (HashMap s k) where
387387 pure x = fromSet \_ -> x
388388 (<*>) = zipWithKey (const id)
src/Data/IntMap/Common/Refined.hs+1−1
@@ -479,7 +479,7 @@ instance TraversableWithIndex (Key s) (IntMap s) where
479479 itraverse = traverseWithKey
480480
481481-- | Similar to the instance for functions -- zip corresponding keys. To use
482−-- '<*>'/'liftA2' without 'KnownIntSet' see 'zipWithKey'.
482+-- '<*>'/'Control.Applicative.liftA2' without 'KnownIntSet' see 'zipWithKey'.
483483instance KnownIntSet s => Applicative (IntMap s) where
484484 pure x = fromSet \_ -> x
485485 (<*>) = zipWithKey (const id)
src/Data/Map/Common/Refined.hs+1−1
@@ -470,7 +470,7 @@ instance TraversableWithIndex (Key s k) (Map s k) where
470470 itraverse = traverseWithKey
471471
472472-- | Similar to the instance for functions -- zip corresponding keys. To use
473−-- '<*>'/'liftA2' without 'KnownSet' see 'zipWithKey'.
473+-- '<*>'/'Control.Applicative.liftA2' without 'KnownSet' see 'zipWithKey'.
474474instance (Ord k, KnownSet s k) => Applicative (Map s k) where
475475 pure x = fromSet \_ -> x
476476 (<*>) = zipWithKey (const id)