File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ Notable changes to this project are documented in this file. The format is based
66
77Breaking changes:
88- Migrate FFI to ES modules (#146 by @kl0tl and @JordanMartinez )
9+ - Drop deprecated ` foldMap1Default ` (#147 by @JordanMartinez )
910
1011New features:
1112
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ module Data.Semigroup.Foldable
1111 , foldl1Default
1212 , foldMap1DefaultR
1313 , foldMap1DefaultL
14- , foldMap1Default
1514 , intercalate
1615 , intercalateMap
1716 , maximum
@@ -30,7 +29,6 @@ import Data.Newtype (ala, alaF)
3029import Data.Ord.Max (Max (..))
3130import Data.Ord.Min (Min (..))
3231import Data.Tuple (Tuple (..))
33- import Prim.TypeError (class Warn , Text )
3432
3533-- | `Foldable1` represents data structures with a minimum of one element that can be _folded_.
3634-- |
@@ -81,10 +79,6 @@ foldMap1DefaultR f = map f >>> foldr1 (<>)
8179foldMap1DefaultL :: forall t m a . Foldable1 t => Functor t => Semigroup m => (a -> m ) -> t a -> m
8280foldMap1DefaultL f = map f >>> foldl1 (<>)
8381
84- -- | Deprecated previous name of `foldMap1DefaultL`.
85- foldMap1Default :: forall t m a . Warn (Text " 'foldMap1Default' is deprecated, use 'foldMap1DefaultL' instead" ) => Foldable1 t => Functor t => Semigroup m => (a -> m ) -> t a -> m
86- foldMap1Default = foldMap1DefaultL
87-
8882instance foldableDual :: Foldable1 Dual where
8983 foldr1 _ (Dual x) = x
9084 foldl1 _ (Dual x) = x
You can’t perform that action at this time.
0 commit comments