Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Parse the given file
getHist :: FilePath -> IO Items Source #
Read a history file (the file must exist) and parse it into a map.
The actual parser
pFile :: ByteString -> Items Source #
Parse a history file of name-number pairs.