Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Checking that a rule preserves typing (subject reduction property).
val check_rule : Parsing.Scope.pre_rule Common.Pos.loc -> Core.Term.rule
check_rule r
checks whether the pre-rule r
is well-typed in signature state ss
and then construct the corresponding rule. Note that Fatal
is raised in case of error.