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.

  1. mapNoreserve :: MmapOptionalFlag

    shared-memory MMAP

    See man mmap for a description.

  2. mapPrivate :: MmapSharedFlag

    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.

  3. mapShared :: MmapSharedFlag

    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..

  4. mapStack :: MmapOptionalFlag

    shared-memory MMAP

    See man mmap for a description.

  5. 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.

  6. mapInput :: forall (m :: Type -> Type) a b . (MonadIO m, MonadMask m) => (a -> Maybe b) -> InputT m a -> InputT m b

    simple-prompt SimplePrompt.Internal

    maybe map input or loop prompt

  7. mapMaybe :: forall b a . (a -> Maybe b) -> Slist a -> Slist b

    slist 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}
    

  8. mapToKeys :: Map k v -> Slist k

    slist Slist

    O(n). Returns a Slist of all keys of the map in the ascending order.

  9. mapToPairs :: Map k v -> Slist (k, v)

    slist Slist

    O(n). Returns a Slist of all key-value pairs of the map in the ascending order of their keys.

  10. mapToVals :: Map k v -> Slist v

    slist Slist

    O(n). Returns a Slist of all values of the map in the ascending order of their keys.

Page 360 of many | Previous | Next