repa-flow-4.2.3.1: Data-parallel data flows.

Data.Repa.Flow.Auto.SizedIO

Contents

Description

Synopsis

# Sourcing

Like sourceBytes, but with the default chunk size.

Like sourceChars, but with the default chunk size.

Arguments

 :: Integer Size of chunk to read in bytes. -> IO () Action to perform if we can't get a whole record. -> Array B Bucket Buckets. -> IO (Sources (Array A Char))

Like sourceLines, but with the default chunk size and error action.

Arguments

 :: Integer Size of chunk to read in bytes. -> (Word8 -> Bool) Detect the end of a record. -> IO () Action to perform if we can't get a whole record. -> Array B Bucket File handles. -> IO (Sources (Array A Word8))

Like sourceRecords, but with the default chunk size and error action.

Arguments

 :: Integer Chunk length. -> IO () Action to perform if we find line longer than the chunk length. -> Array B Bucket Buckets -> IO (Sources (Array A (Array A Char)))