Safe Haskell | None |
---|---|
Language | Haskell2010 |
- readFromFile :: Serialize event => FilePath -> Produce (Either IOException (Either Text event))
- readFromDir :: Serialize event => FilePath -> Produce (Either IOException (Either Text event))
Documentation
readFromFile :: Serialize event => FilePath -> Produce (Either IOException (Either Text event)) Source #
Read events from a file.
readFromDir :: Serialize event => FilePath -> Produce (Either IOException (Either Text event)) Source #
Read events from a directory, which has been populated with writeToDir
.