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. tally :: (Manifest r e, Load r ix e, Ord e) => Array r ix e -> Vector DS (e, Int)

    massiv Data.Massiv.Array

    Count number of occurrences of each element in the array. Results will be sorted in ascending order of the element.

    Example

    >>> import Data.Massiv.Array as A
    
    >>> xs = fromList Seq [2, 4, 3, 2, 4, 5, 2, 1] :: Array P Ix1 Int
    
    >>> xs
    Array P Seq (Sz1 8)
    [ 2, 4, 3, 2, 4, 5, 2, 1 ]
    
    >>> tally xs
    Array DS Seq (Sz1 5)
    [ (1,1), (2,3), (3,1), (4,2), (5,1) ]
    

  2. evalLazyArray :: Index ix => Array BL ix e -> Array B ix e

    massiv Data.Massiv.Array.Manifest

    O(n) - Evaluate all elements of a boxed lazy array to weak head normal form

  3. mallocCompute :: (Size r, Load r ix e, Storable e) => Array r ix e -> IO (Array S ix e)

    massiv Data.Massiv.Array.Manifest

    Very similar to computeAs S except load the source array into memory allocated with malloc on C heap. It can potentially be useful when iteroperating with some C programs.

  4. mallocCopy :: (Index ix, Storable e) => Array S ix e -> IO (Array S ix e)

    massiv Data.Massiv.Array.Manifest

    Allocate memory on C heap with malloc and copy the source array over.

  5. unsafeMallocMArray :: (Index ix, Storable e, PrimMonad m) => Sz ix -> m (MArray (PrimState m) S ix e)

    massiv Data.Massiv.Array.Unsafe

    Allocate memory using malloc on C heap, instead of on Haskell heap. Memory is left uninitialized

  6. sall :: Stream r ix e => (e -> Bool) -> Array r ix e -> Bool

    massiv Data.Massiv.Vector

    Examples

  7. AdditionalPropertiesAllowed :: Bool -> AdditionalProperties

    openapi3 Data.OpenApi

    No documentation available.

  8. newtype Callback

    openapi3 Data.OpenApi

    A map of possible out-of band callbacks related to the parent operation. Each value in the map is a PathItem Object that describes a set of requests that may be initiated by the API provider and the expected responses. The key value used to identify the path item object is an expression, evaluated at runtime, that identifies a URL to use for the callback operation.

  9. Callback :: InsOrdHashMap Text PathItem -> Callback

    openapi3 Data.OpenApi

    No documentation available.

  10. _componentsCallbacks :: Components -> Definitions Callback

    openapi3 Data.OpenApi

    No documentation available.

Page 507 of many | Previous | Next