package zelus

  1. Overview
  2. Docs
A synchronous language with ODEs

Install

Dune Dependency

Authors

Maintainers

Sources

2.2.tar.gz
md5=437ae922f1fda392efca3e37e8b8bb4c
sha512=d591cdbeedb8f3a7f568d6d4994de572093822cb354b112886326219174311715a71a35de57a4c2070eae349f65f0c8f3d6c2f6a5a79a8187bbffc687cd108a6

doc/zelus.zlcompilerlibs/Zmisc/State/index.html

Module Zmisc.State

The data-structure to represent a state

type 'a t =
  1. | Empty
  2. | Cons of 'a * 'a t
  3. | Par of 'a t * 'a t
  4. | Seq of 'a t * 'a t
val singleton : 'a -> 'a t
val cons : 'a -> 'a t -> 'a t
val seq : 'a t -> 'a t -> 'a t
val par : 'a t -> 'a t -> 'a t
val empty : 'a t
val is_empty : 'a t -> bool
val fold : ('a -> 'b -> 'b) -> 'a t -> 'b -> 'b
val list : 'a list -> 'a t -> 'a list
val cons_list : 'a list -> 'a t -> 'a t
val map : ('a -> 'b) -> 'a t -> 'b t
val iter : ('a -> 'b) -> 'a t -> unit
val partition : ('a -> bool) -> 'a t -> 'a t * 'a t
val fprint_t : (Format.formatter -> 'a -> unit) -> Format.formatter -> 'a t -> unit
OCaml

Innovation. Community. Security.