This commit is contained in:
Joey Hess 2014-02-19 02:32:22 -04:00
parent fb266e2da6
commit 1fe6cd3c0d

View file

@ -207,11 +207,6 @@ matchGlob regex val =
isJust $ matchRegex regex val
#endif
nonEmptyList :: S.Set a -> Maybe [a]
nonEmptyList s
| S.null s = Nothing
| otherwise = Just $ S.toList s
toViewPath :: MetaValue -> FilePath
toViewPath = concatMap escapeslash . fromMetaValue
where