package zelus
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
A synchronous language with ODEs
Install
dune-project
Dependency
Authors
Maintainers
Sources
2.1.tar.gz
sha256=cb0f7bacc33a4bb425683e2def67359fcf6d402545a32f7f953c4822a9a01862
md5=83fb886e4b14ce286e7a6eb59248be4b
doc/zelus.zlcompilerlibs/Types/index.html
Module Types
val make : 'a -> 'a Deftypes.locval product : Deftypes.typ list -> Deftypes.typ_desc Deftypes.locval vec : Deftypes.typ -> Deftypes.size -> Deftypes.typ_desc Deftypes.locval funtype :
Deftypes.kind ->
Ident.t option ->
Deftypes.typ ->
Deftypes.typ ->
Deftypes.typ_desc Deftypes.locval funtype_list :
Deftypes.kind ->
(Ident.t option * Deftypes.typ) list ->
Deftypes.typ ->
Deftypes.typval plus : Deftypes.size -> Deftypes.size -> Deftypes.sizeMake size expressions. Apply simple simplification rules
val minus : Deftypes.size -> Deftypes.size -> Deftypes.sizeval const : int -> Deftypes.sizeval global : Lident.qualident -> Deftypes.sizeval name : Ident.t -> Deftypes.sizeval constr :
Lident.qualident ->
Deftypes.typ list ->
Deftypes.abbrev ref ->
Deftypes.typ_desc Deftypes.locval nconstr :
Lident.qualident ->
Deftypes.typ list ->
Deftypes.typ_desc Deftypes.locval new_discrete_var : unit -> Deftypes.typ_desc Deftypes.locval new_var : unit -> Deftypes.typ_desc Deftypes.locval new_generic_var : unit -> Deftypes.typ_desc Deftypes.locval new_var_list : int -> Deftypes.typ_desc Deftypes.loc listval forall : Deftypes.typ list -> Deftypes.typ -> Deftypes.typ_schemeval fv : Ident.S.t -> Deftypes.typ -> Ident.S.tSet of free size variables in a type
val fv_size : Ident.S.t -> Deftypes.size -> Ident.S.tval subst_in_type : Deftypes.size Ident.Env.t -> Deftypes.typ -> Deftypes.typval subst_in_size : Deftypes.size Ident.Env.t -> Deftypes.size -> Deftypes.sizeval remove_dependences : Deftypes.typ -> Deftypes.typRemove dependences from a type
val less_than : Deftypes.kind -> Deftypes.kind -> unitval lift : Deftypes.kind -> Deftypes.kind -> Deftypes.kindval intro : Deftypes.kind -> Deftypes.kindval run_type : Deftypes.kind -> Deftypes.typ_desc Deftypes.locval kind : 'a -> Deftypes.typ -> unitval fully_applied : Deftypes.typ -> boolval zero_type : Deftypes.kind -> Deftypes.typ_desc Deftypes.loccontext. bool otherwise.
val on_type : Deftypes.kind -> Deftypes.kindval is_combinatorial_kind : Deftypes.kind -> boolval is_discrete_kind : Deftypes.kind -> boolval is_continuous_kind : Deftypes.kind -> boolval is_statefull_kind : Deftypes.kind -> boolval lift_to_discrete : Deftypes.kind -> Deftypes.kindMake a discrete sort.
val typ_repr : Deftypes.typ -> Deftypes.typval occur_check : int -> Deftypes.typ -> Deftypes.typ -> unitval clear : Ident.S.t -> Deftypes.typ -> Deftypes.typ * Ident.S.tval list_of_typ_vars : Deftypes.typ list refval gen_ty : bool -> Deftypes.typ -> intval gen : bool -> Deftypes.typ -> Deftypes.typ_schemeval s : Deftypes.typ list refval save : Deftypes.typ -> unitval copy : Deftypes.typ -> Deftypes.typval size_of : Deftypes.typ -> Deftypes.size listCompute the size of an array type t.
val instance_of_type : Deftypes.typ_scheme -> Deftypes.typval instance_and_vars_of_type :
Deftypes.typ_scheme ->
Deftypes.typ_instance * Deftypes.typval constr_instance : Global.constr_desc -> Global.constr_descval label_instance : Global.label_desc -> Global.label_descval subst : Deftypes.typ_desc Deftypes.loc -> Deftypes.typ -> unitval abbreviation :
Lident.qualident ->
Deftypes.abbrev ref ->
Deftypes.typ list ->
Deftypes.typval unify : Deftypes.typ -> Deftypes.typ -> unitval equal_sizes : Deftypes.size -> Deftypes.size -> unitval filter_product : int -> Deftypes.typ -> Deftypes.typ listval filter_signal : Deftypes.typ -> Deftypes.typ_desc Deftypes.locval filter_arrow :
Deftypes.kind ->
Deftypes.typ ->
Deftypes.kind * Ident.t option * Deftypes.typ * Deftypes.typval filter_actual_arrow :
Deftypes.typ ->
Deftypes.kind * Ident.t option * Deftypes.typ * Deftypes.typval split_arguments :
Deftypes.typ ->
'a list ->
'a list * 'a list * Deftypes.typval filter_vec : Deftypes.typ -> Deftypes.typ * Deftypes.sizeval type_of_combine : unit -> Deftypes.typ_desc Deftypes.locAll the function below are pure. They do not modify the internal
representation of types. This is mandatory for them to be used once
static typing is performed
val is_a_signal : Deftypes.typ -> Deftypes.typ optionor nothing.
val is_combinatorial : int -> Deftypes.typ -> boolIs-it a combinatorial function?
val res_type : int -> Deftypes.typ -> Deftypes.typval is_hybrid : int -> Deftypes.typ -> boolval is_probabilistic : int -> Deftypes.typ -> boolval is_a_node_name : Lident.t -> boolIs-it a node ?
val is_a_function_name : Lident.t -> boolIs-it a function?
val is_a_hybrid_node_name : Lident.t -> boolIs-it a hybrid function?
val kind_of_funtype : Deftypes.typ -> Deftypes.kindval kind_of_node_name : Lident.t -> Deftypes.kindval noparameters : Deftypes.typ_scheme -> boolval nopolymorphism : Deftypes.typ_scheme -> bool sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>