streamly icon indicating copy to clipboard operation
streamly copied to clipboard

Check that newly introduced and internally used array APIs are using IO callbacks

Open harendra-kumar opened this issue 1 year ago • 0 comments

For example:

unsafePinnedCreateUsingPtr
    :: MonadIO m => Int -> (Ptr Word8 -> m Int) -> m (MutArray Word8)

can become:

unsafePinnedCreateUsingPtr
    :: MonadIO m => Int -> (Ptr Word8 -> IO Int) -> m (MutArray Word8)

See #2589 .

harendra-kumar avatar Aug 02 '24 12:08 harendra-kumar