Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
dmap :: DFunctor d => (forall x . () => f x -> g x) -> d f -> d gyaya Yaya.Functor No documentation available.
-
yaya Yaya.Functor This isn’t a Functor instance because of the position of the a, but you can use it like: > newtype List a = List (Mu (XNor a)) > instance Functor List where > fmap f (List mu) = List (firstMap f mu)
hmap :: HFunctor h => (forall x . () => f x -> g x) -> h f a -> h g ayaya Yaya.Functor No documentation available.
-
yaya Yaya.Zoo No documentation available.
-
yaya Yaya.Zoo A version of map that applies to Corecursive structures.
-
yaya Yaya.Zoo A more general implementation of contramap, because it can also work to, from, or within monomorphic structures.
updateGamepadMappings :: String -> IO BoolGLFW-b Graphics.UI.GLFW Adds the specified SDL_GameControllerDB gamepad mappings. See glfwUpdateGamepadMappings
-
GLUT Graphics.UI.GLUT.Callbacks.Window The current window is unmapped.
module Graphics.UI.GLUT.
Colormap OpenGL supports both RGBA and color index rendering. The RGBA mode is generally preferable to color index because more OpenGL rendering capabilities are available and color index mode requires the loading of colormap entries. The GLUT color index state variables are used to read and write entries in a window's color index colormap. Every GLUT color index window has its own logical color index colormap. The size of a window's colormap can be determined by reading numColorMapEntries. GLUT color index windows within a program can attempt to share colormap resources by copying a single color index colormap to multiple windows using copyColormap. If possible GLUT will attempt to share the actual colormap. While copying colormaps using copyColormap can potentially allow sharing of physical colormap resources, logically each window has its own colormap. So changing a copied colormap of a window will force the duplication of the colormap. For this reason, color index programs should generally load a single color index colormap, copy it to all color index windows within the program, and then not modify any colormap cells. Use of multiple colormaps is likely to result in colormap installation problems where some windows are displayed with an incorrect colormap due to limitations on colormap resources.
colorMapEntry :: Index1 GLint -> StateVar (Color3 GLfloat)GLUT Graphics.UI.GLUT.Colormap Controls the color index colormap entry of the current window's logical colormap for the layer in use. The layer in use of the current window should be a color index window. The color index should be zero or greater and less than the total number of colormap entries for the window (see numColorMapEntries) and different from an overlay's transparent index (see transparentIndex). If the layer in use's colormap was copied by reference, setting a colormap entry will force the duplication of the colormap.