Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Provides a datatype for representing propositional formulas and evaluation, iteration and map functions.
Public type for generic propositional formulas. An empty conjunction And[]
is true and an empty disjunction Or[]
is false.
val eval : ('a -> bool) -> 'a t -> bool
eval g f
evaluates the formula f
using the values returned by g
for the atoms.
val iter : ('a -> unit) -> 'a t -> unit
iter g f
calls g
over every atom of f
.