package zelus

  1. Overview
  2. Docs
A synchronous language with ODEs

Install

dune-project
 Dependency

Authors

Maintainers

Sources

2.1.tar.gz
sha256=cb0f7bacc33a4bb425683e2def67359fcf6d402545a32f7f953c4822a9a01862
md5=83fb886e4b14ce286e7a6eb59248be4b

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

Module Misc.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.