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/Zmatching/index.html

Module Zmatching

val repeat : int -> 'a -> 'a list

Useful functions

val keep : 'a list -> int -> 'a
val drop : 'a list -> int -> 'a list
val range : int -> int -> int list
val separate : int -> 'a list -> 'a list * 'a list
type 'a pattern =
  1. | Pany
  2. | Por of 'a pattern * 'a pattern
  3. | Pconstr of 'a * 'a pattern list

Generic pattern, basically constructors with holes and alternation, tagged with any type.

and 'a patt_vec = 'a pattern list
and 'a patt_matrix = 'a patt_vec list
module type SIG = sig ... end

Module type for pattern signatures.

module PATTERN_CHECKER (S : SIG) : sig ... end
OCaml

Innovation. Community. Security.