package catala
Compiler and library for the literate programming language for tax code specification
Install
Dune Dependency
Authors
Maintainers
Sources
0.10.0.tar.gz
md5=5abd76e8c51a47670645e91b21b57fc5
sha512=9c6fbe50c0b5a60566e877eeddadca0a339e2ce35deb5c1beceb03bc40eb6af2d519313e71859d88645b53fad591d4fa5288c633b185c9d765603da0f5b7dd7b
doc/catala.verification/Verification/Conditions/index.html
Module Verification.Conditions
Source
Generates verification conditions from scope definitions
Source
type verification_condition = {
vc_guard : Shared_ast.typed Dcalc.Ast.expr;
(*This expression should have type
*)bool
vc_kind : verification_condition_kind;
vc_asserts : Shared_ast.typed Dcalc.Ast.expr;
(*A conjunction of all assertions in scope of this VC. * This expression should have type
*)bool
vc_scope : Shared_ast.ScopeName.t;
vc_variable : Shared_ast.typed Dcalc.Ast.expr Shared_ast.Var.t Catala_utils.Mark.pos;
}
Source
val generate_verification_conditions :
Shared_ast.typed Dcalc.Ast.program ->
Shared_ast.ScopeName.t option ->
verification_condition list
generate_verification_conditions p None
will generate the verification conditions for all the variables of all the scopes of the program p
, while generate_verification_conditions p (Some s)
will focus only on the variables of scope s
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>