Hoogle Search
Within LTS Haskell 24.40 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
optimizeForInteraction :: IO ()MissingH System.IO.Utils Sets stdin and stdout to be line-buffered. This saves resources on stdout, but not many on stdin, since it it still looking for newlines.
module Control.Arrow.
Transformer Arrow transformers, for making new arrow types out of old ones.
-
arrows Control.Arrow.Transformer Construct a new arrow from an existing one.
toForeignPtr :: CArray i e -> (Int, ForeignPtr e)carray Data.Array.CArray O(1) Extract ForeignPtr from a CArray.
unsafeForeignPtrToCArray :: Ix i => ForeignPtr e -> (i, i) -> IO (CArray i e)carray Data.Array.CArray O(1) Construct a CArray from an arbitrary ForeignPtr. It is the caller's responsibility to ensure that the ForeignPtr points to an area of memory sufficient for the specified bounds.
mallocForeignPtrArrayAligned :: Storable a => Int -> IO (ForeignPtr a)carray Data.Array.CArray.Base Allocate an array which is 16-byte aligned. Essential for SIMD instructions.
mallocForeignPtrBytesAligned :: Int -> IO (ForeignPtr a)carray Data.Array.CArray.Base Allocate memory which is 16-byte aligned. This is essential for SIMD instructions. We know that mallocPlainForeignPtrBytes will give word-aligned memory, so we pad enough to be able to return the desired amount of memory after aligning our pointer.
toForeignPtr :: CArray i e -> (Int, ForeignPtr e)carray Data.Array.CArray.Base O(1) Extract ForeignPtr from a CArray.
unsafeForeignPtrToCArray :: Ix i => ForeignPtr e -> (i, i) -> IO (CArray i e)carray Data.Array.CArray.Base O(1) Construct a CArray from an arbitrary ForeignPtr. It is the caller's responsibility to ensure that the ForeignPtr points to an area of memory sufficient for the specified bounds.
unsafeForeignPtrToIOCArray :: Ix i => ForeignPtr e -> (i, i) -> IO (IOCArray i e)carray Data.Array.CArray.Base O(1) Construct a CArray from an arbitrary ForeignPtr. It is the caller's responsibility to ensure that the ForeignPtr points to an area of memory sufficient for the specified bounds.