package core_extended

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

The language of terms over floats.

module type Ordered_field_with_exponential = sig ... end
type 'a t = [
  1. | `Base of 'a
  2. | `Add of 'a t * 'a t
    (*

    sexp (x + y) or (add x y z ...). An empty list ((add)) is not allowed.

    *)
  3. | `Sub of 'a t * 'a t
    (*

    sexp (x - y) or (sub x y)

    *)
  4. | `Mult of 'a t * 'a t
    (*

    sexp (x * y) or (mult x y z ...). An empty list ((mult)) is not allowed.

    *)
  5. | `Div of 'a t * 'a t
    (*

    sexp (x / y) or (div x y)

    *)
  6. | `Abs of 'a t
  7. | `Min of 'a t * 'a t
    (*

    sexp (min x y z ...). An empty list ((min)) is not allowed.

    *)
  8. | `Max of 'a t * 'a t
    (*

    sexp (max x y z ...). An empty list ((max)) is not allowed.

    *)
  9. | `Exp of 'a t
  10. | `Ln of 'a t
]
include sig ... end
val t_of_sexp : (Ppx_sexp_conv_lib.Sexp.t -> 'a) -> Ppx_sexp_conv_lib.Sexp.t -> 'a t
val __t_of_sexp__ : (Ppx_sexp_conv_lib.Sexp.t -> 'a) -> Ppx_sexp_conv_lib.Sexp.t -> 'a t
val sexp_of_t : ('a -> Ppx_sexp_conv_lib.Sexp.t) -> 'a t -> Ppx_sexp_conv_lib.Sexp.t
val bin_t : 'a Bin_prot.Type_class.t -> 'a t Bin_prot.Type_class.t
val bin_read_t : 'a Bin_prot.Read.reader -> 'a t Bin_prot.Read.reader
val __bin_read_t__ : 'a Bin_prot.Read.reader -> (int -> 'a t) Bin_prot.Read.reader
val bin_reader_t : 'a Bin_prot.Type_class.reader -> 'a t Bin_prot.Type_class.reader
val bin_size_t : 'a Bin_prot.Size.sizer -> 'a t Bin_prot.Size.sizer
val bin_write_t : 'a Bin_prot.Write.writer -> 'a t Bin_prot.Write.writer
val bin_writer_t : 'a Bin_prot.Type_class.writer -> 'a t Bin_prot.Type_class.writer
val bin_shape_t : Bin_prot.Shape.t -> Bin_prot.Shape.t
val compare : ('a -> 'a -> int) -> 'a t -> 'a t -> int
val base : 'a -> 'a t
val add : 'a t -> 'a t -> 'a t
val sub : 'a t -> 'a t -> 'a t
val mult : 'a t -> 'a t -> 'a t
val div : 'a t -> 'a t -> 'a t
val add_list : 'a t list -> 'a t
val mult_list : 'a t list -> 'a t
val abs : 'a t -> 'a t
val min : 'a t -> 'a t -> 'a t
val max : 'a t -> 'a t -> 'a t
val exp : 'a t -> 'a t
val ln : 'a t -> 'a t
val atoms : 'a t -> 'a list
module Eval (F : Ordered_field_with_exponential) : sig ... end
OCaml

Innovation. Community. Security.