| Safe Haskell | None |
|---|
G500.Read
Description
A module that reads files generated by Gen (graph500gen) program one directory level above.
- type Graph500Reader = IO (Maybe (UArray Int Index))
- mkGraph500Reader :: Handle -> Int -> IO Graph500Reader
Documentation
type Graph500Reader = IO (Maybe (UArray Int Index))Source
A synonym for IO action that performs a read.
Arguments
| :: Handle | File handle. |
| -> Int | Size of a read. |
| -> IO Graph500Reader |
Create a graph reader structure.
The handle should be opened to read as a binary file.
Also the handle gets captured in result of the function and will
be closed at the end of operation.