Hoogle Search
Within LTS Haskell 24.45 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
fileMapReadWith :: FilePath -> (UArray Word8 -> IO a) -> IO afoundation Foundation.IO.FileMap Map in memory the whole content of a file,
gconstmap :: (Generic1 f, Functor (Rep1 f)) => a -> f b -> f ageneric-data Generic.Data gfmap :: (Generic1 f, Functor (Rep1 f)) => (a -> b) -> f a -> f bgeneric-data Generic.Data Generic fmap.
instance Functor MyTypeF where fmap = gfmap
gfoldMap :: (Generic1 f, GFoldable (Rep1 f), Monoid m) => (a -> m) -> f a -> mgeneric-data Generic.Data Generic foldMap.
instance Foldable MyTypeF where foldMap = gfoldMap
gmappend :: (Generic a, Semigroup (Rep a ())) => a -> a -> ageneric-data Generic.Data instance Semigroup MyType where (<>) = gmappend
See also gmempty.gmappend' :: (Generic a, Monoid (Rep a ())) => a -> a -> ageneric-data Generic.Data Generic (<>) (or mappend). The difference from gmappend is the Monoid constraint instead of Semigroup, for older versions of base where Semigroup is not a superclass of Monoid.
gconstmap :: (Generic1 f, Functor (Rep1 f)) => a -> f b -> f ageneric-data Generic.Data.Internal.Prelude gfmap :: (Generic1 f, Functor (Rep1 f)) => (a -> b) -> f a -> f bgeneric-data Generic.Data.Internal.Prelude Generic fmap.
instance Functor MyTypeF where fmap = gfmap
gfoldMap :: (Generic1 f, Foldable (Rep1 f), Monoid m) => (a -> m) -> f a -> mgeneric-data Generic.Data.Internal.Prelude Deprecated: This definition has been replaced with gfoldMap.
gmappend :: (Generic a, Semigroup (Rep a ())) => a -> a -> ageneric-data Generic.Data.Internal.Prelude instance Semigroup MyType where (<>) = gmappend
See also gmempty.