Safe Haskell | None |
---|---|
Language | Haskell2010 |
CabalGild.Unstable.Class.MonadWalk
Synopsis
- class Monad m => MonadWalk (m :: Type -> Type) where
- walk :: FilePath -> [FilePattern] -> [FilePattern] -> m [FilePath]
Documentation
class Monad m => MonadWalk (m :: Type -> Type) where Source #
A Monad
that can also "walk" a directory to discover files within it.
Methods
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 Methods walk :: FilePath -> [FilePattern] -> [FilePattern] -> IO [FilePath] Source # |