A dummy default constant for __dir__
to make it type check
outside Lakefile elaboration (e.g., when editing).
A dummy default constant for get_config
to make it type check
outside Lakefile elaboration (e.g., when editing).
A macro that expands to the path of package's directory during the Lakefile's elaboration.
Equations
- Lake.DSL.dirConst = Lean.ParserDescr.node `Lake.DSL.dirConst 1024 (Lean.ParserDescr.symbol "__dir__")
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
A macro that expands to the specified configuration option (or none
,
if not the option has not been set) during the Lakefile's elaboration.
Configuration arguments are set either via the Lake CLI (by the -K
option)
or via the with
clause in a require
statement.
Equations
- Lake.DSL.getConfig = Lean.ParserDescr.node `Lake.DSL.getConfig 1022 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol "get_config? ") (Lean.ParserDescr.const `ident))
Instances For
Equations
- One or more equations did not get rendered due to their size.