git.iko.soy/monoidal-containers
on master help sign in
Reflow comment
commit22c52e48ecc6c55e8bba50d33fcdd5b388fe10db authorBen Gamari <ben@smart-cactus.org> dateWed 13 Apr 2016, 16:34 (11 years ago) parentabdd715
1 file changed+2−3
src/Data/Map/Monoidal.hs+2−3
src/Data/Map/Monoidal.hs+2−3
@@ -142,9 +142,8 @@ delete :: Ord k => k -> MonoidalMap k a -> MonoidalMap k a
142142delete k = _Wrapping' MM %~ M.delete k
143143{-# INLINE delete #-}
144144
145−-- | /O(n)/.
146−-- Return all elements of the map in the ascending order of their keys.
147−-- Subject to list fusion.
145+-- | /O(n)/. Return all elements of the map in the ascending order of their
146+-- keys. Subject to list fusion.
148147elems :: MonoidalMap k a -> [a]
149148elems = M.elems . unpack
150149{-# INLINE elems #-}