Hoogle Search
Within LTS Haskell 24.3 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
memptydefault :: (Generic a, Monoid' (Rep a)) => ageneric-deriving Generics.Deriving.Monoid No documentation available.
memptyIfFalse :: Monoid m => Bool -> m -> mrelude Relude.Monoid Returns the given value in case of the given predicate is satisfied (is True). Otherwise, it returns mempty.
>>> memptyIfFalse True (Just "Hello") Just "Hello" >>> memptyIfFalse False "Doesn't matter" ""
memptyIfTrue :: Monoid m => Bool -> m -> mrelude Relude.Monoid Returns the given value in case of the given predicate is unsatisfied (is False). Otherwise, it returns mempty.
>>> memptyIfTrue True (Just "Hello") Nothing >>> memptyIfTrue False "Does matter" "Does matter"
-
deriving-compat Data.Deriving.Internal No documentation available.
-
ghc-lib-parser GHC.Builtin.Names No documentation available.
-
ghc-lib-parser GHC.Builtin.Names No documentation available.
-
ghc-lib-parser GHC.Builtin.Names No documentation available.
memptyMultipartData :: MultipartData tagautodocodec-servant-multipart Autodocodec.Multipart No documentation available.
-
bytezap Bytezap.Poke.KnownLen No documentation available.
memptyRecordHashMap :: (Monoid r, IsRecordHashMap r c m) => mcolumnar Text.Columnar often we will want to construct a Monoid HashMap from Monoid records