Hoogle Search
Within LTS Haskell 24.34 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
shared-memory MMAP See man mmap for a description.
mapNonblock :: MmapOptionalFlagshared-memory MMAP See man mmap for a description.
mapNoreserve :: MmapOptionalFlagshared-memory MMAP See man mmap for a description.
-
shared-memory MMAP Create a private copy-on-write mapping. Updates to the mapping are not visible to other processes mapping the same file, and are not carried through to the underlying file. It is unspecified whether changes made to the file after the mmap() call are visible in the mapped region.
-
shared-memory MMAP Share this mapping. Updates to the mapping are visible to other processes that map the file, and are carried through to the underlying file. The file may not actually be updated until msync(2) or munmap() is called..
-
shared-memory MMAP See man mmap for a description.
mapParseError :: Ord e' => (e -> e') -> ParseError s e -> ParseError s e'shellwords Text.Megaparsec.Compat Modify the custom data component in a parse error. This could be done via fmap if not for the Ord constraint.
-
simple-prompt SimplePrompt.Internal maybe map input or loop prompt
mapMaybe :: forall b a . (a -> Maybe b) -> Slist a -> Slist bslist Slist The Maybe version of map which can throw out elements. If appliying the given function returns Nothing, no element is added on to the result list. If it is Just b, then b is included in the result list.
>>> maybeEven x = if even x then Just x else Nothing >>> s = cons 1 $ cons 2 $ one 3
>>> mapMaybe maybeEven s Slist {sList = [2], sSize = Size 1}If we map the Just constructor, the entire list should be returned:>>> mapMaybe Just s Slist {sList = [1,2,3], sSize = Size 3}mapToKeys :: Map k v -> Slist kslist Slist O(n). Returns a Slist of all keys of the map in the ascending order.