A specification of a set of module names.
- one: Lean.Name → Lake.Glob
Selects just the specified module name.
- submodules: Lean.Name → Lake.Glob
Selects all submodules of the specified module, but not the module itself.
- andSubmodules: Lean.Name → Lake.Glob
Selects the specified module and all submodules.
Instances For
Equations
- Lake.instCoeGlobArray = { coe := Array.singleton }
A name glob which matches all names with the prefix, including itself.
Instances For
A name glob which matches all names with the prefix, but not the prefix itself.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- (Lake.Glob.one a).toString = a.toString
- (Lake.Glob.submodules a).toString = a.toString ++ ".+"
- (Lake.Glob.andSubmodules a).toString = a.toString ++ ".*"
Instances For
Equations
- Lake.Glob.instToString = { toString := Lake.Glob.toString }
Equations
- Lake.Glob.matches m (Lake.Glob.one a) = (a == m)
- Lake.Glob.matches m (Lake.Glob.submodules a) = (a.isPrefixOf m && a != m)
- Lake.Glob.matches m (Lake.Glob.andSubmodules a) = a.isPrefixOf m
Instances For
@[inline]
def
Lake.Glob.forEachModuleIn
{m : Type → Type u_1}
[Monad m]
[MonadLiftT IO m]
(dir : System.FilePath)
(f : Lean.Name → m PUnit)
(self : Lake.Glob)
:
m PUnit