package orsetto

  1. Overview
  2. Docs
A library of assorted structured data interchange languages

Install

Dune Dependency

Authors

Maintainers

Sources

r1.0.1.tar.gz
sha256=f64814687276bad56483b2b8dfaaf70d0d6485f67fe5d44bff34bfa47af1896e
md5=3a15a377800cf988a310b4082406c685

doc/orsetto.cf/Cf_dfa/Create/argument-1-B/Dispatch/index.html

Module B.Dispatch

The dispatch signature.

type event = Event.t

The event type.

type 'a t

The dispatch type.

val create : (event -> 'a option) -> 'a t

The DFA uses create f to make an event dispatch that returns transitions computed by applying f to an event.

val dispatch : event -> 'a t -> 'a

The DFA uses dispatch e d to find the transition in d for e.

OCaml

Innovation. Community. Security.