Skip to main content

Module functions

Module functions 

Source
Expand description

Auto-generated module

🤖 Generated with SplitRS

Functions§

are_sibling_modules
Checks if two modules are siblings (share the same parent).
is_valid_module_name
Returns whether a module name is a valid Lean-style dotted name.
leaf_module_name
Returns the leaf name (last component) of a module name.
module_depth
Returns the depth of a module name (number of dots + 1).
module_fingerprint
A module fingerprint for change detection.
module_in_namespace
Returns whether a module is in a given namespace.
parent_module
Returns the parent module of a dotted module name.
top_namespace
Returns the top-level namespace of a module name.