| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Database.Immutable.Write
Offset and Limit data types
Offset into the database.
Limit the number of elements read after an Id.
Writing
Arguments
| :: 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.