Skip to main content

check_sheet_with_environment

Function check_sheet_with_environment 

Source
pub fn check_sheet_with_environment(
    sheet: &Sheet,
    environment: &AdamCheckingEnvironment,
    availability: MetadataAvailability,
) -> CheckingReport<()>
Expand description

Checks every authored body and guard dependency without lowering executable code.

Missing host facts are reported in incomplete when metadata is unavailable. Every known leaf in a stored array, tuple, or callable shape requires explicit Adam membership. Missing membership is definite only with complete metadata; it does not suppress independent type or capability errors. Match-key value comparisons and whole-graph solvability remain runtime checks. Recovered syntax errors remain the parser’s responsibility.

  • Complexity: The symbolic module check’s expression, specialization and graph costs.

§Examples

See the module example.