Module Field.BoolSource

Operations on boolean field node.

Sourcemodule Key : sig ... end

Operations on keys for bool field

Sourcetype 'a t

type of boolean field node

Sourceval init : Key.t -> 'a -> 'a t
  • since 0.3.0
Sourceval art : 'a -> 'a t

art b is Art b.

Sourceval flag : 'a -> 'a t

art b is Art b.

Sourceval to_string : bool t -> string

to_string field returns a string representation of field.

Sourceval to_sexp : bool t -> string

to_sexp field returns a s-expression compatible string of field.

Sourceval key : 'a t -> Key.t

field f returns the

  • since 0.3.0
Sourceval value : 'a t -> 'a

value s returns the value of s.

  • since 0.3.0