package kappa-library

  1. Overview
  2. Docs

Elementary rule transformations

type 'a t =
  1. | Agent of 'a
  2. | Freed of 'a Instantiation.site
  3. | Linked of 'a Instantiation.site * 'a Instantiation.site
  4. | NegativeWhatEver of 'a Instantiation.site
  5. | PositiveInternalized of 'a * Instantiation.site_name * Instantiation.internal_state
  6. | NegativeInternalized of 'a Instantiation.site
val map_agent : ('a -> 'b) -> 'a t -> 'b t
val fold_agent : ('a -> 'b -> 'a) -> 'a -> 'b t -> 'a
val map_fold_agent : ('a -> 'b -> 'c * 'b) -> 'a t -> 'b -> 'c t * 'b
val equal : ('a -> 'b -> bool) -> 'a t -> 'b t -> bool

negative_transformation_of_actions signature link_dst actions

positive_transformations_of_actions signature side_effect_dsts actions

OCaml

Innovation. Community. Security.