File tree Expand file tree Collapse file tree 6 files changed +11
-4
lines changed Expand file tree Collapse file tree 6 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -781,7 +781,7 @@ disjoint t1@(Bin p1 m1 l1 r1) t2@(Bin p2 m2 l2 r2)
781
781
-- ('compose' bc ab '!?') = (bc '!?') <=< (ab '!?')
782
782
-- @
783
783
--
784
- -- @since UNRELEASED
784
+ -- @since 0.6.3.1
785
785
compose :: IntMap c -> IntMap Int -> IntMap c
786
786
compose bc ! ab
787
787
| null bc = empty
Original file line number Diff line number Diff line change @@ -731,7 +731,7 @@ intersectionWithKey f m1 m2
731
731
-- ('compose' bc ab '!?') = (bc '!?') <=< (ab '!?')
732
732
-- @
733
733
--
734
- -- @since UNRELEASED
734
+ -- @since 0.6.3.1
735
735
compose :: IntMap c -> IntMap Int -> IntMap c
736
736
compose bc ! ab
737
737
| null bc = empty
Original file line number Diff line number Diff line change @@ -516,6 +516,8 @@ deleteBM _ _ Nil = Nil
516
516
-- @
517
517
--
518
518
-- Note: 'alterF' is a variant of the @at@ combinator from "Control.Lens.At".
519
+ --
520
+ -- @since 0.6.3.1
519
521
alterF :: Functor f => (Bool -> f Bool ) -> Key -> IntSet -> f IntSet
520
522
alterF f k s = fmap choose (f member_)
521
523
where
@@ -957,6 +959,8 @@ map f = fromList . List.map f . toList
957
959
-- > and [x < y ==> f x < f y | x <- ls, y <- ls]
958
960
-- > ==> mapMonotonic f s == map f s
959
961
-- > where ls = toList s
962
+ --
963
+ -- @since 0.6.3.1
960
964
961
965
-- Note that for now the test is insufficient to support any fancier implementation.
962
966
mapMonotonic :: (Key -> Key ) -> IntSet -> IntSet
Original file line number Diff line number Diff line change @@ -2104,7 +2104,7 @@ disjoint (Bin _ k _ l r) t
2104
2104
-- ('compose' bc ab '!?') = (bc '!?') <=< (ab '!?')
2105
2105
-- @
2106
2106
--
2107
- -- @since UNRELEASED
2107
+ -- @since 0.6.3.1
2108
2108
compose :: Ord b => Map b c -> Map a b -> Map a c
2109
2109
compose bc ! ab
2110
2110
| null bc = empty
@@ -4282,6 +4282,7 @@ instance Foldable.Foldable (Map k) where
4282
4282
#endif
4283
4283
4284
4284
#if MIN_VERSION_base(4,10,0)
4285
+ -- | @since 0.6.3.1
4285
4286
instance Bifoldable Map where
4286
4287
bifold = go
4287
4288
where go Tip = mempty
Original file line number Diff line number Diff line change @@ -1216,7 +1216,7 @@ forceMaybe m@(Just !_) = m
1216
1216
-- ('compose' bc ab '!?') = (bc '!?') <=< (ab '!?')
1217
1217
-- @
1218
1218
--
1219
- -- @since UNRELEASED
1219
+ -- @since 0.6.3.1
1220
1220
compose :: Ord b => Map b c -> Map a b -> Map a c
1221
1221
compose bc ! ab
1222
1222
| null bc = empty
Original file line number Diff line number Diff line change @@ -612,6 +612,8 @@ delete = go
612
612
-- the given value.
613
613
--
614
614
-- Note: 'alterF' is a variant of the @at@ combinator from "Control.Lens.At".
615
+ --
616
+ -- @since 0.6.3.1
615
617
alterF :: (Ord a , Functor f ) => (Bool -> f Bool ) -> a -> Set a -> f (Set a )
616
618
alterF f k s = fmap choose (f member_)
617
619
where
You can’t perform that action at this time.
0 commit comments