package tiny_libs

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module BehaviorSource

Sourcetype ('context, 'action) t =
  1. | Action of string * 'action
  2. | Condition of string * 'context -> bool
  3. | Sequence of ('context, 'action) t list
  4. | Selector of ('context, 'action) t list
  5. | Not of ('context, 'action) t
Sourceval decide : ('context, 'action) t -> 'context -> 'action option
Sourceval path : ('context, 'action) t -> 'context -> (string * bool) list