package zelus
A synchronous language with ODEs
Install
Dune Dependency
Authors
Maintainers
Sources
2.2.tar.gz
md5=437ae922f1fda392efca3e37e8b8bb4c
sha512=d591cdbeedb8f3a7f568d6d4994de572093822cb354b112886326219174311715a71a35de57a4c2070eae349f65f0c8f3d6c2f6a5a79a8187bbffc687cd108a6
doc/zelus.zlcompilerlibs/Static/index.html
Module Static
static evaluation of expressions
exception Error of error
val remove : 'a Zident.Env.t -> 'b Zident.Env.t -> 'a Zident.Env.t
Remove entries in the type environment of a block
val record_access : Global.value_code -> Lident.t -> Global.value_code
Pattern matching
val matches :
Global.value_code Zident.Env.t ->
Zelus.pattern ->
Global.value_code ->
Global.value_code Zident.Env.t
Pattern matching. matches env p v = env'
returns an extended
val select :
Global.value_code Zident.Env.t ->
Global.value_code ->
'a Zelus.match_handler list ->
Global.value_code Zident.Env.t * 'a
select env v m_b_list = b
where * - env is a environment; * - v a value; * - m_b_list a list of pattern * block; * - b a block whose pattern matches v and is the first in the list
val expression :
Global.value_code Zident.Env.t ->
Zelus.exp ->
Global.value_code
Evaluate an expression. expression env e = v
val app : Global.value_code -> Global.value_code list -> Global.value_code
Evaluate an application
val local :
Global.value_code Zident.Env.t ->
Zelus.local ->
Global.value_code Zident.Env.t
Evaluate all the definitions and returns an environment
val equation :
Global.value_code Zident.Env.t ->
Zelus.eq ->
Global.value_code Zident.Env.t
Reduce an equation.
val block :
Global.value_code Zident.Env.t ->
Zelus.eq list Zelus.block ->
Global.value_code Zident.Env.t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>