Module Lang.NSource

simpler notation for writing F.term and F.pred

Sourceval (+) : F.binop

F.p_add

Sourceval (-) : F.binop

F.p_sub

Sourceval (~-:) : F.unop

fun x -> p_sub 0 x Beware that the operator does not have the same precedence as ~- in standard OCaml.

Sourceval (*) : F.binop

F.p_mul

Sourceval (/) : F.binop

F.p_div

Sourceval (mod) : F.binop

F.p_mod

Sourceval (=) : F.cmp
Sourceval (<) : F.cmp
Sourceval (>) : F.cmp

F.p_lt with inversed argument

Sourceval (<=) : F.cmp
Sourceval (>=) : F.cmp

F.p_leq with inversed argument

Sourceval (<>) : F.cmp
Sourceval (==>) : F.operator
Sourceval (&&:) : F.operator

F.p_and Beware that the operator does not have the same precedence as && in standard OCaml.

Sourceval (||:) : F.operator

F.p_or Beware that the operator does not have the same precedence as || in standard OCaml.

Sourceval not : F.pred -> F.pred
Sourceval ($) : ?result:tau -> lfun -> F.term list -> F.term
Sourceval ($$) : lfun -> F.term list -> F.pred