Safe Haskell | None |
---|---|
Language | Haskell2010 |
Offset and Limit data types
Offset into the database.
Limit the number of elements read after an Id
.
Writing
:: Serialize a | |
=> FilePath | File path, must be writeable |
-> ((a -> IO ()) -> IO r) | Writing function; the continuation can be called multiple times |
-> IO r |
Write data sequentially to a database file. Database files can be read
back using readDB
.
An additional file path.meta
is produced holding the number of
written elements.