zelus

A synchronous language with ODEs
Library zelus.zlcompilerlibs
Module Zmatching
val repeat : int -> 'a -> 'b list

Useful functions

val keep : 'a list -> int -> 'b
val drop : 'a list -> int -> 'b list
val range : int -> int -> int list
val separate : int -> 'a list -> 'b list * 'a list
type 'a pattern =
| Pany
| Por of 'a pattern * 'a pattern
| 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