Support decoding from a Get monad
Open
- Dominant language
- Haskell
- Stars
- 120
- Forks
- 70
- PR merge metrics
- No merged PRs in 30d
Description
I prefer not to ask for convenience functions willy-nilly, but I think refactoring `decodeFileOrFail` with this signature would be useful:
``` haskell
decodeGetFileOrFail :: Get a -> FilePath -> IO (Either (ByteOffset, String) a)
```
The reason is because there is a nontrivial chunk of code for running the incremental parser that preferably we'd avoid duplicating. I'll submit a PR soon.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.