package catala
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Compiler and library for the literate programming language for tax code specification
Install
dune-project
Dependency
Authors
Maintainers
Sources
1.3.0.tar.gz
md5=59d0dd01df52c38a4d793b594f067d14
sha512=944b755f8b47cb14920994f03f022cc3ba6cdf5def1ae8ffda00a196fa97dcc5b57baf642a03068b79e949df2a98d5f0218e3358e549be1ff0f1cddda1e5f848
doc/catala.shared_ast/Shared_ast/Op/index.html
Module Shared_ast.OpSource
Classification of operators on how they should be typed
Operands and return types of the operator are fixed
The operator is truly polymorphic: it's the same runtime function that may work on multiple types. We require that resolving the argument types from right to left trivially resolves all type variables declared in the operator type.
The operator is ambiguous and requires the types of its arguments to be known before it can be typed, using a pre-defined table
Explicit monomorphic versions of the overloaded operators
Source
type _ t = | Not : < monomorphic.. > t| ValueFromJson : Shared_ast__.Definitions.naked_typ Catala_utils.Mark.pos * string -> < monomorphic.. > t| Length : < polymorphic.. > t| Tag : Shared_ast__.Definitions.tag -> < polymorphic.. > t| ToClosureEnv : < polymorphic.. > t| FromClosureEnv : < polymorphic.. > t| ArrayAccess : int -> < polymorphic.. > t| ConstructorCheck : (Shared_ast__.Definitions.EnumName.t * Shared_ast__.Definitions.EnumConstructor.t) -> < polymorphic.. > t| DebugPrint : string -> < polymorphic.. > t| Minus : < overloaded.. > t| Minus_int : < resolved.. > t| Minus_rat : < resolved.. > t| Minus_mon : < resolved.. > t| Minus_dur : < resolved.. > t| ToInt : < overloaded.. > t| ToInt_rat : < resolved.. > t| ToInt_mon : < resolved.. > t| ToRat : < overloaded.. > t| ToRat_int : < resolved.. > t| ToRat_mon : < resolved.. > t| ToMoney : < overloaded.. > t| ToMoney_rat : < resolved.. > t| ToMoney_int : < resolved.. > t| Round : < overloaded.. > t| Round_rat : < resolved.. > t| Round_mon : < resolved.. > t| And : < monomorphic.. > t| Or : < monomorphic.. > t| Xor : < monomorphic.. > t| Eq : < polymorphic.. > t| Lt : < polymorphic.. > t| Lte : < polymorphic.. > t| Gt : < polymorphic.. > t| Gte : < polymorphic.. > t| Concat : < polymorphic.. > t| Map : < polymorphic.. > t| Filter : < polymorphic.. > t| Find : < polymorphic.. > t| Reduce : < polymorphic.. > t| Sort : [ `Asc | `Desc ] -> < polymorphic.. > t| Add : < overloaded.. > t| Add_int_int : < resolved.. > t| Add_rat_rat : < resolved.. > t| Add_mon_mon : < resolved.. > t| Add_dat_dur : Catala_runtime.date_rounding -> < resolved.. > t| Add_dur_dur : < resolved.. > t| Sub : < overloaded.. > t| Sub_int_int : < resolved.. > t| Sub_rat_rat : < resolved.. > t| Sub_mon_mon : < resolved.. > t| Sub_dat_dat : < resolved.. > t| Sub_dat_dur : Catala_runtime.date_rounding -> < resolved.. > t| Sub_dur_dur : < resolved.. > t| Mult : < overloaded.. > t| Mult_int_int : < resolved.. > t| Mult_rat_rat : < resolved.. > t| Mult_mon_int : < resolved.. > t| Mult_mon_rat : < resolved.. > t| Mult_dur_int : < resolved.. > t| Div : < overloaded.. > t| Div_int_int : < resolved.. > t| Div_rat_rat : < resolved.. > t| Div_mon_int : < resolved.. > t| Div_mon_rat : < resolved.. > t| Div_mon_mon : < resolved.. > t| Div_dur_dur : < resolved.. > t| Map2 : < polymorphic.. > t| Fold : < polymorphic.. > t| HandleExceptions : < polymorphic.. > t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>