| Copyright | (c) 2018 Chris Coffey (c) 2018 CollegeVine |
|---|---|
| License | MIT |
| Maintainer | Chris Coffey |
| Stability | experimental |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell2010 |
ConfCrypt.Parser
Description
Synopsis
Documentation
parseConfCrypt :: FilePath -> Text -> Either ConfCryptError ConfCryptFile Source #
Parse raw Text into a ConfCryptFile.
Duplicates are removed by virtue of using a Map. This means the behavior for having duplciate
parameter names is officially undefined, but as implemented the last parameter read will be preserved.
DO NOT RELY ON THIS BEHAVIOR!