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.
contextMap :: (PointedList a -> b) -> PointedList a -> PointedList bpointedlist 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])
contextMap :: (PointedList a -> b) -> PointedList a -> PointedList bpointedlist 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])
unsafeMapMonotonic :: (k -> p -> v -> (q, w)) -> HashPSQ k p v -> HashPSQ k q wpsqueues 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.
unsafeMapMonotonic :: (Key -> p -> v -> (q, w)) -> IntPSQ p v -> IntPSQ q wpsqueues 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.
unsafeMapMonotonic :: forall k p q v w . (k -> p -> v -> (q, w)) -> OrdPSQ k p v -> OrdPSQ k q wpsqueues 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.
KeymapChangedEvent :: EventPayloadsdl2 SDL.Event No documentation available.
ControllerDeviceRemapped :: ControllerDeviceConnectionsdl2 SDL.Input.GameController No documentation available.
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.
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.
controllerMapping :: MonadIO m => GameController -> m Textsdl2 SDL.Input.GameController Get the current mapping of a Game Controller. See SDL_GameControllerMapping for C documentation.