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.

  1. allocaArray :: (MonadUnliftIO m, Storable a) => Int -> (Ptr a -> m b) -> m b

    unliftio UnliftIO.Foreign

    Unlifted allocaArray.

  2. allocaArray0 :: (MonadUnliftIO m, Storable a) => Int -> (Ptr a -> m b) -> m b

    unliftio UnliftIO.Foreign

    Unlifted allocaArray0.

  3. allocaBytes :: MonadUnliftIO m => Int -> (Ptr a -> m b) -> m b

    unliftio UnliftIO.Foreign

    Unlifted allocaBytes.

  4. allocaBytesAligned :: MonadUnliftIO m => Int -> Int -> (Ptr a -> m b) -> m b

    unliftio UnliftIO.Foreign

    Unlifted allocaBytesAligned.

  5. allOf :: Getting All s a -> (a -> Bool) -> s -> Bool

    microlens 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
    

  6. alloc :: ByteArray ba => Int -> (Ptr p -> IO ()) -> IO ba

    memory Data.ByteArray

    Allocate a new bytearray of specific size, and run the initializer on this memory

  7. allocAndFreeze :: ByteArray a => Int -> (Ptr p -> IO ()) -> a

    memory Data.ByteArray

    similar to alloc but hide the allocation and initializer in a pure context

  8. allocRet :: ByteArray ba => Int -> (Ptr p -> IO a) -> IO (a, ba)

    memory Data.ByteArray

    allocate n bytes and perform the given operation

  9. alloc :: forall (n :: Nat) ba p . (ByteArrayN n ba, KnownNat n) => (Ptr p -> IO ()) -> IO ba

    memory Data.ByteArray.Sized

    Allocate a new bytearray of specific size, and run the initializer on this memory

  10. allocAndFreeze :: forall (n :: Nat) ba p . (ByteArrayN n ba, KnownNat n) => (Ptr p -> IO ()) -> ba

    memory Data.ByteArray.Sized

    similar to allocN but hide the allocation and initializer in a pure context

Page 77 of many | Previous | Next