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.
pMany :: (Maybe Text, Maybe Text) -> Text -> (Element -> Maybe a) -> Element -> [a]feed Text.RSS1.Utils No documentation available.
many :: Alternative f => f a -> f [a]foundation Foundation.Parser Zero or more.
Examples
>>> many (putStr "la") lalalalalalalalala... * goes on forever *
>>> many Nothing Just []
>>> take 5 <$> many (Just 1) * hangs forever *
Note that this function can be used with Parsers based on Applicatives. In that case many parser will attempt to parse parser zero or more times until it fails.ScrollTypeAnywhere :: ScrollTypegi-atk GI.Atk.Enums Scroll the object vertically and horizontally so that as much as possible of the object becomes visible. The exact placement is determined by the application.
module GI.Gdk.Structs.
EventAny Contains the fields which are common to all event structs. Any event pointer can safely be cast to a pointer to a EventAny to access these fields.
-
gi-gdk3 GI.Gdk.Structs.EventAny Memory-managed wrapper type.
EventAny :: ManagedPtr EventAny -> EventAnygi-gdk3 GI.Gdk.Structs.EventAny No documentation available.
clearEventAnyWindow :: MonadIO m => EventAny -> m ()gi-gdk3 GI.Gdk.Structs.EventAny Set the value of the “window” field to Nothing. When overloading is enabled, this is equivalent to
clear #window
getEventAnySendEvent :: MonadIO m => EventAny -> m Int8gi-gdk3 GI.Gdk.Structs.EventAny Get the value of the “send_event” field. When overloading is enabled, this is equivalent to
get eventAny #sendEvent
getEventAnyType :: MonadIO m => EventAny -> m EventTypegi-gdk3 GI.Gdk.Structs.EventAny Get the value of the “type” field. When overloading is enabled, this is equivalent to
get eventAny #type
getEventAnyWindow :: MonadIO m => EventAny -> m (Maybe Window)gi-gdk3 GI.Gdk.Structs.EventAny Get the value of the “window” field. When overloading is enabled, this is equivalent to
get eventAny #window