Hoogle Search
Within LTS Haskell 24.42 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
allocaArray :: (MonadUnliftIO m, Storable a) => Int -> (Ptr a -> m b) -> m bunliftio UnliftIO.Foreign Unlifted allocaArray.
allocaArray0 :: (MonadUnliftIO m, Storable a) => Int -> (Ptr a -> m b) -> m bunliftio UnliftIO.Foreign Unlifted allocaArray0.
allocaBytes :: MonadUnliftIO m => Int -> (Ptr a -> m b) -> m bunliftio UnliftIO.Foreign Unlifted allocaBytes.
allocaBytesAligned :: MonadUnliftIO m => Int -> Int -> (Ptr a -> m b) -> m bunliftio UnliftIO.Foreign Unlifted allocaBytesAligned.
allOf :: Getting All s a -> (a -> Bool) -> s -> Boolmicrolens Lens.Micro Returns True if any value returned by a getter (any getter, including lenses, traversals, and folds) satisfies a predicate.
>>> allOf each (=='x') ['x','x'] True >>> allOf each (=='x') ['x','y'] False >>> allOf each (=='x') ['y','y'] False
alloc :: ByteArray ba => Int -> (Ptr p -> IO ()) -> IO bamemory Data.ByteArray Allocate a new bytearray of specific size, and run the initializer on this memory
allocAndFreeze :: ByteArray a => Int -> (Ptr p -> IO ()) -> amemory Data.ByteArray similar to alloc but hide the allocation and initializer in a pure context
allocRet :: ByteArray ba => Int -> (Ptr p -> IO a) -> IO (a, ba)memory Data.ByteArray allocate n bytes and perform the given operation
alloc :: forall (n :: Nat) ba p . (ByteArrayN n ba, KnownNat n) => (Ptr p -> IO ()) -> IO bamemory Data.ByteArray.Sized Allocate a new bytearray of specific size, and run the initializer on this memory
allocAndFreeze :: forall (n :: Nat) ba p . (ByteArrayN n ba, KnownNat n) => (Ptr p -> IO ()) -> bamemory Data.ByteArray.Sized similar to allocN but hide the allocation and initializer in a pure context