Copyright | (c) 2009-2014 Bryan O'Sullivan |
---|---|
License | BSD-style |
Maintainer | bos@serpentine.com |
Stability | experimental |
Portability | GHC |
Safe Haskell | Safe |
Language | Haskell98 |
Criterion.IO
Description
Input and output actions.
- header :: ByteString
- hGetRecords :: Binary a => Handle -> IO (Either String [a])
- hPutRecords :: Binary a => Handle -> [a] -> IO ()
- readRecords :: Binary a => FilePath -> IO (Either String [a])
- writeRecords :: Binary a => FilePath -> [a] -> IO ()
Documentation
header :: ByteString Source #
The header identifies a criterion data file. This contains version information; there is no expectation of cross-version compatibility.
hGetRecords :: Binary a => Handle -> IO (Either String [a]) Source #
Read all records from the given Handle
.