Hoogle Search
Within LTS Haskell 24.70 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
getEventSettingType :: MonadIO m => EventSetting -> m EventTypegi-gdk3 GI.Gdk.Structs.EventSetting Get the value of the “type” field. When overloading is enabled, this is equivalent to
get eventSetting #type
getEventSettingWindow :: MonadIO m => EventSetting -> m (Maybe Window)gi-gdk3 GI.Gdk.Structs.EventSetting Get the value of the “window” field. When overloading is enabled, this is equivalent to
get eventSetting #window
newZeroEventSetting :: MonadIO m => m EventSettinggi-gdk3 GI.Gdk.Structs.EventSetting Construct a EventSetting struct initialized to zero.
eventHandlerSet :: (HasCallStack, MonadIO m) => EventFunc -> m ()gi-gdk3 GI.Gdk.Unions.Event Sets the function to call to handle all events from GDK. Note that GTK+ uses this to install its own event handler, so it is usually not useful for GTK+ applications. (Although an application can call this function then call gtk_main_do_event() to pass events to GTK+.)
eventSetDevice :: (HasCallStack, MonadIO m, IsDevice a) => Event -> a -> m ()gi-gdk3 GI.Gdk.Unions.Event Sets the device for event to device. The event must have been allocated by GTK+, for instance, by eventCopy. Since: 3.0
eventSetDeviceTool :: (HasCallStack, MonadIO m, IsDeviceTool a) => Event -> Maybe a -> m ()gi-gdk3 GI.Gdk.Unions.Event Sets the device tool for this event, should be rarely used. Since: 3.22
eventSetScreen :: (HasCallStack, MonadIO m, IsScreen a) => Event -> a -> m ()gi-gdk3 GI.Gdk.Unions.Event Sets the screen for event to screen. The event must have been allocated by GTK+, for instance, by eventCopy. Since: 2.2
eventSetSourceDevice :: (HasCallStack, MonadIO m, IsDevice a) => Event -> a -> m ()gi-gdk3 GI.Gdk.Unions.Event Sets the slave device for event to device. The event must have been allocated by GTK+, for instance by eventCopy. Since: 3.0
getEventSetting :: MonadIO m => Event -> m EventSettinggi-gdk3 GI.Gdk.Unions.Event Get the value of the “setting” field. When overloading is enabled, this is equivalent to
get event #setting
data
IsSubset (a :: [Nat]) (b :: [Nat]) (c :: Bool)harpie Harpie.Shape Check if a shape is a subset (<=) another shape after reranking.
>>> :k! Eval (IsSubset [2,3,4] [2,3,4]) ... = True
>>> :k! Eval (IsSubset [1,2] [2,3,4]) ... = True
>>> :k! Eval (IsSubset [2,1] '[1]) ... = False