Instances For
Equations
- Lake.instInhabitedGlob = { default := Lake.instInhabitedGlob.default }
 
Equations
- Lake.instReprGlob = { reprPrec := Lake.instReprGlob.repr }
 
Equations
- One or more equations did not get rendered due to their size.
 
Instances For
Equations
- Lake.instDecidableEqGlob.decEq (Lake.Glob.one a) (Lake.Glob.one b) = if h : a = b then h ▸ isTrue ⋯ else isFalse ⋯
 - Lake.instDecidableEqGlob.decEq (Lake.Glob.one a) (Lake.Glob.submodules a_1) = isFalse ⋯
 - Lake.instDecidableEqGlob.decEq (Lake.Glob.one a) (Lake.Glob.andSubmodules a_1) = isFalse ⋯
 - Lake.instDecidableEqGlob.decEq (Lake.Glob.submodules a) (Lake.Glob.one a_1) = isFalse ⋯
 - Lake.instDecidableEqGlob.decEq (Lake.Glob.submodules a) (Lake.Glob.submodules b) = if h : a = b then h ▸ isTrue ⋯ else isFalse ⋯
 - Lake.instDecidableEqGlob.decEq (Lake.Glob.submodules a) (Lake.Glob.andSubmodules a_1) = isFalse ⋯
 - Lake.instDecidableEqGlob.decEq (Lake.Glob.andSubmodules a) (Lake.Glob.one a_1) = isFalse ⋯
 - Lake.instDecidableEqGlob.decEq (Lake.Glob.andSubmodules a) (Lake.Glob.submodules a_1) = isFalse ⋯
 - Lake.instDecidableEqGlob.decEq (Lake.Glob.andSubmodules a) (Lake.Glob.andSubmodules b) = if h : a = b then h ▸ isTrue ⋯ else isFalse ⋯
 
Instances For
Equations
- Lake.instCoeNameGlob = { coe := Lake.Glob.one }
 
Equations
- Lake.instCoeGlobArray = { coe := Array.singleton }
 
A name glob which matches all names with the prefix, including itself.
Equations
- One or more equations did not get rendered due to their size.
 
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 : Glob)
 :
m PUnit
Equations
- Lake.Glob.forEachModuleIn dir f (Lake.Glob.one a) = f a
 - Lake.Glob.forEachModuleIn dir f (Lake.Glob.submodules a) = Lean.forEachModuleInDir (Lean.modToFilePath dir a "") fun (x : Lean.Name) => f (a ++ x)
 - Lake.Glob.forEachModuleIn dir f (Lake.Glob.andSubmodules a) = f a *> Lean.forEachModuleInDir (Lean.modToFilePath dir a "") fun (x : Lean.Name) => f (a ++ x)