Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
unpackMapStorableArrayWithLength :: (Integral a, Storable b) => (b -> c) -> a -> Ptr b -> IO [c]haskell-gi-base Data.GI.Base.BasicConversions No documentation available.
unpackMapZeroTerminatedStorableArray :: (Eq a, Num a, Storable a) => (a -> b) -> Ptr a -> IO [b]haskell-gi-base Data.GI.Base.BasicConversions No documentation available.
-
haskell-gi-base Data.GI.Base.GVariant Pack a Map into a GVariant for dictionary type, which is just an array of GVariantDictEntry.
-
haskell-gi-base Data.GI.Base.GVariant Unpack a GVariant into a Map. Notice that this assumes that all the elements in the GVariant array of GVariantDictEntry are of the same type, which is not necessary for a generic GVariant, so this is somewhat restrictive. For the general case it is necessary to use gvariantToList plus gvariantToDictEntry directly.
bimapThese :: (a -> c) -> (b -> d) -> These a b -> These c dthese Data.These.Combinators Bifunctor bimap.
arrayLengthsMap :: Callable -> [(Arg, Arg)]haskell-gi Data.GI.CodeGen.Callable No documentation available.
getC2HMap :: CodeGen e (Map CRef Hyperlink)haskell-gi Data.GI.CodeGen.Code Return the C -> Haskell available to the generator.
elementMap :: Type -> Text -> Maybe Texthaskell-gi Data.GI.CodeGen.Conversions No documentation available.
elementTypeAndMap :: Type -> Text -> Maybe (Type, Text)haskell-gi Data.GI.CodeGen.Conversions If the given type maps to a list in Haskell, return the type of the elements, and the function that maps over them.
module Data.GI.CodeGen.
CtoHaskellMap Construct a map from C identifiers to the corresponding Haskell elements in the bindings.