Hoogle Search

Within LTS Haskell 24.66 (ghc-9.10.3)

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

  1. contextMap :: (PointedList a -> b) -> PointedList a -> PointedList b

    pointedlist Data.List.PointedList

    Map over the PointedLists created via positions, such that f is called with each element of the list focused in the provided PointedList. An example makes this easier to understand:

    contextMap atStart (fromJust $ fromList [1..5])
    

  2. contextMap :: (PointedList a -> b) -> PointedList a -> PointedList b

    pointedlist Data.List.PointedList.Circular

    Map over the PointedLists created via positions, such that f is called with each element of the list focused in the provided PointedList. An example makes this easier to understand:

    contextMap atStart (fromJust $ fromList [1..5])
    

  3. unsafeMapMonotonic :: (k -> p -> v -> (q, w)) -> HashPSQ k p v -> HashPSQ k q w

    psqueues Data.HashPSQ

    O(n) Maps a function over the values and priorities of the queue. The function f must be monotonic with respect to the priorities. I.e. if x < y, then fst (f k x v) < fst (f k y v). The precondition is not checked. If f is not monotonic, then the result will be invalid.

  4. unsafeMapMonotonic :: (Key -> p -> v -> (q, w)) -> IntPSQ p v -> IntPSQ q w

    psqueues Data.IntPSQ

    O(n) Maps a function over the values and priorities of the queue. The function f must be monotonic with respect to the priorities. I.e. if x < y, then fst (f k x v) < fst (f k y v). The precondition is not checked. If f is not monotonic, then the result will be invalid.

  5. unsafeMapMonotonic :: forall k p q v w . (k -> p -> v -> (q, w)) -> OrdPSQ k p v -> OrdPSQ k q w

    psqueues Data.OrdPSQ

    O(n) Maps a function over the values and priorities of the queue. The function f must be monotonic with respect to the priorities. I.e. if x < y, then fst (f k x v) < fst (f k y v). The precondition is not checked. If f is not monotonic, then the result will be invalid.

  6. KeymapChangedEvent :: EventPayload

    sdl2 SDL.Event

    No documentation available.

  7. ControllerDeviceRemapped :: ControllerDeviceConnection

    sdl2 SDL.Input.GameController

    No documentation available.

  8. addControllerMapping :: MonadIO m => ByteString -> m ()

    sdl2 SDL.Input.GameController

    Add support for controllers that SDL is unaware of or to cause an existing controller to have a different binding. See SDL_GameControllerAddMapping for C documentation.

  9. addControllerMappingsFromFile :: MonadIO m => FilePath -> m ()

    sdl2 SDL.Input.GameController

    Use this function to load a set of Game Controller mappings from a file, filtered by the current SDL_GetPlatform(). A community sourced database of controllers is available here (on GitHub). See SDL_GameControllerAddMappingsFromFile for C documentation.

  10. controllerMapping :: MonadIO m => GameController -> m Text

    sdl2 SDL.Input.GameController

    Get the current mapping of a Game Controller. See SDL_GameControllerMapping for C documentation.

Page 588 of many | Previous | Next