Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- class Monad m => MonadWalk m where
- walk :: FilePath -> [FilePattern] -> [FilePattern] -> m [FilePath]
Documentation
class Monad m => MonadWalk m where Source #
A Monad
that can also "walk" a directory to discover files within it.
walk :: FilePath -> [FilePattern] -> [FilePattern] -> m [FilePath] Source #
This has the same signature and semantics as
getDirectoryFilesIgnore
. The first argument is the directory
to walk. The second argument is a list of patterns to include. The third
argument is a list of patterns to exclude.
Instances
MonadWalk IO Source # | Uses |
Defined in CabalGild.Unstable.Class.MonadWalk walk :: FilePath -> [FilePattern] -> [FilePattern] -> IO [FilePath] Source # |