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.
solomap :: Solomap a b x y => (a -> b) -> x -> ygeneric-functor Generic.Functor.Multimap Generalized implicit functor. Use this when x and y are applications of existing functors (Functor, Bifunctor). This is a different use case from gfmap and gsolomap, which make functors out of freshly declared data types. solomap is unsafe: misuse will break your programs. See the Usage section of gsolomap for details.
Example
map1 :: (a -> b) -> Either e (Maybe [IO a]) -> Either e (Maybe [IO b]) map1 = solomap -- equivalent to: fmap . fmap . fmap . fmap map2 :: (a -> b) -> (e -> Either [a] r) -> (e -> Either [b] r) map2 = solomap -- equivalent to: \f -> fmap (bimap (fmap f) id)
genericMappend :: (Generic a, MappendProduct (Rep a)) => a -> a -> ageneric-monoid Data.Monoid.Generic A generic <> function which works for product types where each contained type is itself a Semigroup. It simply calls <> for each field. If you don't want to use the deriving via mechanism, use this function to implement the Semigroup type class.
genericMappend :: (Generic a, MappendProduct (Rep a)) => a -> a -> ageneric-monoid Data.Semigroup.Generic A generic <> function which works for product types where each contained type is itself a Semigroup. It simply calls <> for each field. If you don't want to use the deriving via mechanism, use this function to implement the Semigroup type class.
module Generic.Type.Function.
FoldMap No documentation available.
-
generic-type-functions Generic.Type.Function.FoldMap foldMap on generic type representations (field product level). Will work for single-constructor types as well thanks to meta unwrapping.
sessionMap :: SessionMemoizer k a b -> Map k (CmdMemoizer a b)ghci4luatex Data.Memoizer.Sessions No documentation available.
module GI.Freetype2.Structs.
Bitmap No description available in the introspection data.
-
gi-freetype2 GI.Freetype2.Structs.Bitmap Memory-managed wrapper type.
Bitmap :: ManagedPtr Bitmap -> Bitmapgi-freetype2 GI.Freetype2.Structs.Bitmap No documentation available.
class (GObject o, IsDescendantOf Map o) =>
IsMap ogi-gtksource5 GI.GtkSource.Objects.Map Type class for types which can be safely cast to Map, for instance with toMap.