Rename AllFlags to RawFlags
I just like this new name better
This commit is contained in:
parent
4707e929ef
commit
45ec7d1708
3 changed files with 6 additions and 6 deletions
|
|
@ -41,8 +41,8 @@ lLine = do
|
|||
hidden lNewlines
|
||||
pure (a, f)
|
||||
|
||||
parseFlagFile :: Parser AllFlags
|
||||
parseFlagFile :: Parser RawFlags
|
||||
parseFlagFile = space *> many lNewline *> (Map.fromList <$> many lLine) <* hidden eof
|
||||
|
||||
readFlagFile :: FilePath -> T.Text -> Either WeedErrorBundle AllFlags
|
||||
readFlagFile :: FilePath -> T.Text -> Either WeedErrorBundle RawFlags
|
||||
readFlagFile filename input = parse parseFlagFile filename input
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue