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.
mapAccumulator :: (m -> n) -> FunctionBuilder m a b -> FunctionBuilder n a bfunction-builder Data.FunctionBuilder Convert the accumulated (usually monoidal-) value, this allows to change the underlying accumlator type.
mapNext :: (s -> r) -> FunctionBuilder m r a -> FunctionBuilder m s afunction-builder Data.FunctionBuilder Convert the output of a FunctionBuilder value; since most FunctionBuilders are parameteric in r they also have r in a in a, such that a always either is r or is a function returning r eventually. In order to get from a FunctionBuilder that can accept a continuation returning it an r to a FunctionBuilder that accepts continuations returning an s instead, we need to apply a function s -> r to the return value of the continuation. Note that a mapNext will not only change the r to an s but probably also the the a, when it is parametric, as in this contrived example:
example :: Int -> x -> Sum Int example = toFunction (ign add) add :: FunctionBuilder (Sum Int) next (Int -> next) add = FB (\k x -> k $ Sum x) ign :: FunctionBuilder m (x -> r) a -> FunctionBuilder m r a ign = mapNext const
Here the extra parameter x is pushed down into the a of the add FunctionBuilder.mapGetView :: (HasCallStack, MonadIO m, IsMap a) => a -> m (Maybe View)gi-gtksource5 GI.GtkSource.Objects.Map Gets the [propertymap:view] property, which is the view this widget is mapping.
mapNew :: (HasCallStack, MonadIO m) => m Mapgi-gtksource5 GI.GtkSource.Objects.Map Creates a new GtkSourceMap.
mapSetView :: (HasCallStack, MonadIO m, IsMap a, IsView b) => a -> b -> m ()gi-gtksource5 GI.GtkSource.Objects.Map Sets the view that map will be doing the mapping to.
mapAllocationSuccessful :: (HasCallStack, MonadIO m) => MapT -> m Int32gi-harfbuzz GI.HarfBuzz.Functions Tests whether memory allocation for a set was successful. Since: 1.7.7
mapClear :: (HasCallStack, MonadIO m) => MapT -> m ()gi-harfbuzz GI.HarfBuzz.Functions Clears out the contents of map. Since: 1.7.7
mapCopy :: (HasCallStack, MonadIO m) => MapT -> m MapTgi-harfbuzz GI.HarfBuzz.Functions Allocate a copy of map. Since: 4.4.0
mapCreate :: (HasCallStack, MonadIO m) => m MapTgi-harfbuzz GI.HarfBuzz.Functions Creates a new, initially empty map. Since: 1.7.7
mapDel :: (HasCallStack, MonadIO m) => MapT -> Word32 -> m ()gi-harfbuzz GI.HarfBuzz.Functions Removes key and its stored value from map. Since: 1.7.7