summaryrefslogtreecommitdiff
path: root/src/Data/Dependent
diff options
context:
space:
mode:
Diffstat (limited to 'src/Data/Dependent')
-rw-r--r--src/Data/Dependent/EnumMap/Strict/Internal.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Data/Dependent/EnumMap/Strict/Internal.hs b/src/Data/Dependent/EnumMap/Strict/Internal.hs
index f7128f2..0ede040 100644
--- a/src/Data/Dependent/EnumMap/Strict/Internal.hs
+++ b/src/Data/Dependent/EnumMap/Strict/Internal.hs
@@ -602,7 +602,7 @@ partitionWithKey f (DEnumMap m) =
-- | \(O(\min(n,W)^2)\). Because of the lack of a @takeWhileAntitoneWithValue@
-- operation on 'Data.IntMap.Strict.IntMap', this function performs additional lookups to
-- reconstruct the full keys to pass to the predicate, resulting in a somewhat
--- worse complexity than 'IM.takeWhileAntitone'.
+-- worse complexity than 'Data.IntMap.Strict.takeWhileAntitone'.
takeWhileAntitone :: Enum1 k => (forall a. k a -> Bool) -> DEnumMap k v -> DEnumMap k v
takeWhileAntitone f (DEnumMap m) =
DEnumMap (IM.takeWhileAntitone (\i -> case m IM.! i of