Safe Haskell | None |
---|---|
Language | Haskell2010 |
- getFilesRecursive :: FilePath -> IO [FilePath]
- getFilesRecursiveRelative :: FilePath -> IO [FilePath]
- partitionM :: Monad m => (a -> m Bool) -> [a] -> m ([a], [a])
Documentation
getFilesRecursive :: FilePath -> IO [FilePath] Source
Return the absolute paths of all files (excluding directories and other things) below the given root.
getFilesRecursiveRelative :: FilePath -> IO [FilePath] Source
Return the relative paths of all files (excluding directories and other things) below the given root.
partitionM :: Monad m => (a -> m Bool) -> [a] -> m ([a], [a]) Source
Partition a list of values based on a monadic predicate, with the list of values satisfying the predicate as the first element of the result pair, and the list of values not satisfying the predicate as the second.