hdmenu-0.3.0: A small wrapper around dmenu
Safe HaskellSafe-Inferred
LanguageGHC2021

Core.Parser

Synopsis

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.