cabal-gild-1.5.0.1: Formats package descriptions.
Safe HaskellSafe-Inferred
LanguageHaskell2010

CabalGild.Unstable.Class.MonadWalk

Synopsis

Documentation

class Monad m => MonadWalk m 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

Instances details
MonadWalk IO Source #

Uses getDirectoryFilesIgnore.

Instance details

Defined in CabalGild.Unstable.Class.MonadWalk