Hoogle Search

Within LTS Haskell 24.31 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. execStateShared :: forall s (es :: [(Type -> Type) -> Type -> Type]) a . HasCallStack => s -> Eff (State s ': es) a -> Eff es s

    effectful-core Effectful.State.Dynamic

    Run the State effect with the given initial state and return the final state, discarding the final value (via Effectful.State.Static.Shared).

  2. runStateShared :: forall s (es :: [(Type -> Type) -> Type -> Type]) a . HasCallStack => s -> Eff (State s ': es) a -> Eff es (a, s)

    effectful-core Effectful.State.Dynamic

    Run the State effect with the given initial state and return the final value along with the final state (via Effectful.State.Static.Shared).

  3. execWriterShared :: forall w (es :: [(Type -> Type) -> Type -> Type]) a . (HasCallStack, Monoid w) => Eff (Writer w ': es) a -> Eff es w

    effectful-core Effectful.Writer.Dynamic

    Run the Writer effect and return the final output, discarding the final value (via Effectful.Writer.Static.Shared).

  4. runWriterShared :: forall w (es :: [(Type -> Type) -> Type -> Type]) a . (HasCallStack, Monoid w) => Eff (Writer w ': es) a -> Eff es (a, w)

    effectful-core Effectful.Writer.Dynamic

    Run the Writer effect and return the final value along with the final output (via Effectful.Writer.Static.Shared).

  5. constructGLContextSharedContext :: (IsGLContext o, MonadIO m, IsGLContext a) => a -> m (GValueConstruct o)

    gi-gdk3 GI.Gdk.Objects.GLContext

    Construct a GValueConstruct with valid value for the “shared-context” property. This is rarely needed directly, but it is used by new.

  6. gLContextGetSharedContext :: (HasCallStack, MonadIO m, IsGLContext a) => a -> m (Maybe GLContext)

    gi-gdk3 GI.Gdk.Objects.GLContext

    Retrieves the GLContext that this context share data with. Since: 3.16

  7. getGLContextSharedContext :: (MonadIO m, IsGLContext o) => o -> m (Maybe GLContext)

    gi-gdk3 GI.Gdk.Objects.GLContext

    Get the value of the “shared-context” property. When overloading is enabled, this is equivalent to

    get gLContext #sharedContext
    

  8. constructGLContextSharedContext :: (IsGLContext o, MonadIO m, IsGLContext a) => a -> m (GValueConstruct o)

    gi-gdk4 GI.Gdk.Objects.GLContext

    Construct a GValueConstruct with valid value for the “shared-context” property. This is rarely needed directly, but it is used by new.

  9. gLContextGetSharedContext :: (HasCallStack, MonadIO m, IsGLContext a) => a -> m (Maybe GLContext)

    gi-gdk4 GI.Gdk.Objects.GLContext

    Deprecated: (Since version 4.4)Use gLContextIsShared to check if contextscan be shared.

  10. gLContextIsShared :: (HasCallStack, MonadIO m, IsGLContext a, IsGLContext b) => a -> b -> m Bool

    gi-gdk4 GI.Gdk.Objects.GLContext

    Checks if the two GL contexts can share resources. When they can, the texture IDs from other can be used in self. This is particularly useful when passing GdkGLTexture objects between different contexts. Contexts created for the same display with the same properties will always be compatible, even if they are created for different surfaces. For other contexts it depends on the GL backend. Both contexts must be realized for this check to succeed. If either one is not, this function will return False. Since: 4.4

Page 36 of many | Previous | Next