Hoogle Search
Within LTS Haskell 24.40 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
foldMap :: (MonoFoldable mono, Monoid m) => (Element mono -> m) -> mono -> mmono-traversable Data.MonoTraversable.Unprefixed Synonym for ofoldMap
foldMap1Ex :: (MonoFoldable mono, Semigroup m) => (Element mono -> m) -> mono -> mmono-traversable Data.MonoTraversable.Unprefixed Synonym for ofoldMap1Ex
ofoldMap1 :: (MonoFoldable mono, Semigroup m) => (Element mono -> m) -> NonNull mono -> mmono-traversable Data.NonNull Map each element of a monomorphic container to a semigroup, and combine the results. Safe version of ofoldMap1Ex, only works on monomorphic containers wrapped in a NonNull.
Examples
> let xs = ncons ("hello", 1 :: Integer) [(" world", 2)] > ofoldMap1 fst xs "hello world"conversionMap :: (Ok a -> Ok b) -> Conversion a -> Conversion bpostgresql-simple Database.PostgreSQL.Simple.FromField No documentation available.
-
postgresql-simple Database.PostgreSQL.Simple.HStore No documentation available.
HStoreMap :: Map Text Text -> HStoreMappostgresql-simple Database.PostgreSQL.Simple.HStore No documentation available.
fromHStoreMap :: HStoreMap -> Map Text Textpostgresql-simple Database.PostgreSQL.Simple.HStore No documentation available.
conversionMap :: (Ok a -> Ok b) -> Conversion a -> Conversion bpostgresql-simple Database.PostgreSQL.Simple.Internal No documentation available.
-
autodocodec Autodocodec Map a codec in both directions. This is not strictly dimap, because the decoding function is allowed to fail, but we can implement dimap using this function by using a decoding function that does not fail. Otherwise we would have to have another constructor here.
-
autodocodec Autodocodec