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.
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) ]
evalLazyArray :: Index ix => Array BL ix e -> Array B ix emassiv Data.Massiv.Array.Manifest O(n) - Evaluate all elements of a boxed lazy array to weak head normal form
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.
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.
-
massiv Data.Massiv.Array.Unsafe Allocate memory using malloc on C heap, instead of on Haskell heap. Memory is left uninitialized
sall :: Stream r ix e => (e -> Bool) -> Array r ix e -> Boolmassiv Data.Massiv.Vector Examples
AdditionalPropertiesAllowed :: Bool -> AdditionalPropertiesopenapi3 Data.OpenApi No documentation available.
-
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.
Callback :: InsOrdHashMap Text PathItem -> Callbackopenapi3 Data.OpenApi No documentation available.
_componentsCallbacks :: Components -> Definitions Callbackopenapi3 Data.OpenApi No documentation available.