package dolmen_model
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
module E = Dolmen.Std.Expr
exception Function_value_expected of Value.t
exception Bad_arity of E.Term.Const.t * int * Value.t list
type value_function =
| Lambda of {
ty_params : E.Ty.Var.t list;
term_params : E.Term.Var.t list;
body : E.Term.t;
}
| Lazy of {
arity : int;
cst : E.Term.Const.t;
eval_lazy : Env.t -> (Env.t -> E.term -> Value.t) -> E.term list -> Value.t;
}
| Parametric of {
arity : int;
cst : E.Term.Const.t;
ty_args : E.Ty.t list;
eval_p : Value.t list -> Value.t;
}
and t =
| Partial of {
func : value_function;
args : E.term list;
}
| Ad_hoc of {
cst : E.Term.Const.t;
ty_args : E.Ty.t list;
eval_a : E.Ty.t -> Value.t;
}
val return :
('a, 'b, 'c, 'd, 'd, 'a) CamlinternalFormatBasics.format6 ->
Format.formatter ->
unit ->
unit
val print : Format.formatter -> t -> unit
val ad_hoc :
cst:E.Term.Const.t ->
?ty_args:E.Ty.t list ->
(E.Ty.t -> Value.t) ->
Value.t
val mk :
env:'a ->
eval:('a -> E.Term.t -> Value.t) ->
E.Ty.Var.t list ->
E.Term.Var.t list ->
E.Term.t ->
Value.t
val builtin :
arity:int ->
cst:E.Term.Const.t ->
?ty_args:E.Ty.t list ->
(Value.t list -> Value.t) ->
Value.t
val fun_1 :
cst:E.Term.Const.t ->
?ty_args:E.Ty.t list ->
(Value.t -> Value.t) ->
Value.t
val fun_n :
cst:E.Term.Const.t ->
?ty_args:E.Ty.t list ->
(Value.t list -> Value.t) ->
Value.t
val arity : value_function -> int
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>