Hoogle Search
Within LTS Haskell 24.46 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
foldMap :: Monoid m => (a -> m) -> RadixTree a -> mradix-tree Data.RadixTree.Word8.Strict Map each element in the tree to a monoid and combine the results.
foldMapWithKey :: Monoid m => (Build -> a -> m) -> RadixTree a -> mradix-tree Data.RadixTree.Word8.Strict Map each element in the tree to a monoid and combine the results.
ifoldMap :: Monoid m => (Int -> a -> m) -> RAList a -> mral Data.RAList No documentation available.
imap :: (Int -> a -> b) -> RAList a -> RAList bral Data.RAList >>> imap (,) $ fromList ['a' .. 'f'] fromList [(0,'a'),(1,'b'),(2,'c'),(3,'d'),(4,'e'),(5,'f')]
foldMap1 :: forall a s . Semigroup s => (a -> s) -> NERAList a -> sral Data.RAList.NonEmpty No documentation available.
foldr1Map :: (a -> b -> b) -> (a -> b) -> NERAList a -> bral Data.RAList.NonEmpty No documentation available.
ifoldMap :: Monoid m => (Int -> a -> m) -> NERAList a -> mral Data.RAList.NonEmpty No documentation available.
ifoldMap1 :: forall a s . Semigroup s => (Int -> a -> s) -> NERAList a -> sral Data.RAList.NonEmpty >>> import Data.Semigroup (Min (..))
>>> ifoldMap1 (\_ x -> Min x) $ fromNonEmpty $ 5 :| [3,1,2,4] Min {getMin = 1}>>> ifoldMap1 (\i x -> Min (i + x)) $ fromNonEmpty $ 5 :| [3,1,2,4] Min {getMin = 3}ifoldr1Map :: (Int -> a -> b -> b) -> (Int -> a -> b) -> NERAList a -> bral Data.RAList.NonEmpty No documentation available.
imap :: (Int -> a -> b) -> NERAList a -> NERAList bral Data.RAList.NonEmpty >>> imap (,) (fromNonEmpty ('a' :| ['b'..'f'])) fromNonEmpty ((0,'a') :| [(1,'b'),(2,'c'),(3,'d'),(4,'e'),(5,'f')])