diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Config.hs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/Config.hs b/src/Config.hs index 39ff185..0a80183 100644 --- a/src/Config.hs +++ b/src/Config.hs @@ -85,10 +85,6 @@ configFromMap map = do } return config -eitherToMaybe :: Either a b -> Maybe b -eitherToMaybe (Right x) = Just x -eitherToMaybe _ = Nothing - fieldValues :: Text -> Map Text Text -> [Text] fieldValues field map = fromMaybe [] $ fmap T.strip . T.splitOn "," <$> M.lookup field map |