Hoogle Search

Within LTS Haskell 24.67 (ghc-9.10.3)

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

  1. getAllExceptionAnnotations :: ExceptionContext -> [SomeExceptionAnnotation]

    base Control.Exception.Context

    No documentation available.

  2. biall :: Bifoldable t => (a -> Bool) -> (b -> Bool) -> t a b -> Bool

    base Data.Bifoldable

    Determines whether all elements of the structure satisfy their appropriate predicate argument. Empty structures yield True.

    Examples

    Basic usage:
    >>> biall even isDigit (27, 't')
    False
    
    >>> biall even isDigit (26, '8')
    True
    
    >>> biall even isDigit (Left 27)
    False
    
    >>> biall even isDigit (Left 26)
    True
    
    >>> biall even isDigit (BiList [26, 52] ['3', '8'])
    True
    
    Empty structures yield True:
    >>> biall even isDigit (BiList [] [])
    True
    

  3. groupAllWith :: Ord b => (a -> b) -> [a] -> [NonEmpty a]

    base Data.List.NonEmpty

    groupAllWith operates like groupWith, but sorts the list first so that each equivalence class has, at most, one list in the output

  4. groupAllWith1 :: Ord b => (a -> b) -> NonEmpty a -> NonEmpty (NonEmpty a)

    base Data.List.NonEmpty

    groupAllWith1 is to groupWith1 as groupAllWith is to groupWith

  5. getAll :: All -> Bool

    base Data.Monoid

    No documentation available.

  6. getAll :: All -> Bool

    base Data.Semigroup

    No documentation available.

  7. mallocForeignPtr :: Storable a => IO (ForeignPtr a)

    base Foreign.ForeignPtr

    Allocate some memory and return a ForeignPtr to it. The memory will be released automatically when the ForeignPtr is discarded. mallocForeignPtr is equivalent to

    do { p <- malloc; newForeignPtr finalizerFree p }
    
    although it may be implemented differently internally: you may not assume that the memory returned by mallocForeignPtr has been allocated with malloc. GHC notes: mallocForeignPtr has a heavily optimised implementation in GHC. It uses pinned memory in the garbage collected heap, so the ForeignPtr does not require a finalizer to free the memory. Use of mallocForeignPtr and associated functions is strongly recommended in preference to newForeignPtr with a finalizer.

  8. mallocForeignPtrArray :: Storable a => Int -> IO (ForeignPtr a)

    base Foreign.ForeignPtr

    This function is similar to mallocArray, but yields a memory area that has a finalizer attached that releases the memory area. As with mallocForeignPtr, it is not guaranteed that the block of memory was allocated by malloc.

  9. mallocForeignPtrArray0 :: Storable a => Int -> IO (ForeignPtr a)

    base Foreign.ForeignPtr

    This function is similar to mallocArray0, but yields a memory area that has a finalizer attached that releases the memory area. As with mallocForeignPtr, it is not guaranteed that the block of memory was allocated by malloc.

  10. mallocForeignPtrBytes :: Int -> IO (ForeignPtr a)

    base Foreign.ForeignPtr

    This function is similar to mallocForeignPtr, except that the size of the memory required is given explicitly as a number of bytes.

Page 180 of many | Previous | Next