Hoogle Search
Within LTS Haskell 24.6 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
gconstmap :: (Generic1 f, Functor (Rep1 f)) => a -> f b -> f ageneric-data Generic.Data.Internal.Prelude eventRequestMotions :: (HasCallStack, MonadIO m) => EventMotion -> m ()gi-gdk3 GI.Gdk.Unions.Event Request more motion notifies if event is a motion notify hint event. This function should be used instead of windowGetPointer to request further motion notifies, because it also works for extension events where motion notifies are provided for devices other than the core pointer. Coordinate extraction, processing and requesting more motion events from a EventTypeMotionNotify event usually works like this:
C code
{ // motion_event handler x = motion_event->x; y = motion_event->y; // handle (x,y) motion gdk_event_request_motions (motion_event); // handles is_hint events }
Since: 2.12runStmt :: MonadInterpreter m => String -> m ()hint Language.Haskell.Interpreter Evaluate a statement in the IO monad, possibly binding new names. Example:
runStmt "x <- return 42" runStmt "print x"
adjustMax :: (a -> a) -> NEIntMap a -> NEIntMap anonempty-containers Data.IntMap.NonEmpty O(log n). A version of updateMax that disallows deletion, allowing us to guarantee that the result is also non-empty.
adjustMaxWithKey :: (Key -> a -> a) -> NEIntMap a -> NEIntMap anonempty-containers Data.IntMap.NonEmpty O(log n). A version of updateMaxWithKey that disallows deletion, allowing us to guarantee that the result is also non-empty.
adjustMin :: (a -> a) -> NEIntMap a -> NEIntMap anonempty-containers Data.IntMap.NonEmpty O(1). A version of updateMin that disallows deletion, allowing us to guarantee that the result is also non-empty.
adjustMinWithKey :: (Key -> a -> a) -> NEIntMap a -> NEIntMap anonempty-containers Data.IntMap.NonEmpty O(1). A version of adjustMaxWithKey that disallows deletion, allowing us to guarantee that the result is also non-empty. Note that it also is able to have better asymptotics than updateMinWithKey in general.
adjustMax :: (a -> a) -> NEMap k a -> NEMap k anonempty-containers Data.Map.NonEmpty O(log n). A version of updateMax that disallows deletion, allowing us to guarantee that the result is also non-empty.
adjustMaxWithKey :: (k -> a -> a) -> NEMap k a -> NEMap k anonempty-containers Data.Map.NonEmpty O(log n). A version of updateMaxWithKey that disallows deletion, allowing us to guarantee that the result is also non-empty.
adjustMin :: (a -> a) -> NEMap k a -> NEMap k anonempty-containers Data.Map.NonEmpty O(1). A version of updateMin that disallows deletion, allowing us to guarantee that the result is also non-empty.