package tezos-plompiler

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

Parameters

module C : sig ... end

Signature

include sig ... end
type scalar = C.scalar
type 'a repr = 'a C.repr
type 'a t = 'a C.t
val ret : 'a -> 'a t
val let* : 'a t -> ('a -> 'b t) -> 'b t
val (>*) : unit repr t -> 'a t -> 'a t
val with_bool_check : bool repr t -> unit repr t
val get_checks_wire : bool repr t
module Input = C.Input
val serialize : 'a Input.t -> Csir.Scalar.t array
val input : ?public:bool -> 'a Input.t -> 'a repr t
val eq : 'a repr -> 'a repr -> bool
val foldM : ('a -> 'b -> 'a t) -> 'a -> 'b list -> 'a t
val pair : 'a repr -> 'b repr -> ('a * 'b) repr
val of_pair : ('a * 'b) repr -> 'a repr * 'b repr
val to_list : 'a repr list -> 'a list repr
val of_list : 'a list repr -> 'a repr list
val unit : unit repr
val scalar_of_bool : bool repr -> scalar repr
val unsafe_bool_of_scalar : scalar repr -> bool repr
val assert_equal : 'a repr -> 'a repr -> unit repr t
val equal : 'a repr -> 'a repr -> bool repr t
val constant_scalar : Csir.Scalar.t -> scalar repr t
val bits_of_scalar : ?shift:Z.t -> nb_bits:int -> scalar repr -> bool list repr t

Returns a list of Boolean variables representing the little endian bit decomposition of the given scalar (with the least significant bit on the head).

val with_label : label:string -> 'a t -> 'a t
module Ecc = C.Ecc
module Poseidon = C.Poseidon
val hd : 'a list repr -> 'a repr t
val foldiM : ('a -> int -> 'a t) -> 'a -> int -> 'a t
val fold2M : ('a -> 'b -> 'c -> 'a t) -> 'a -> 'b list -> 'c list -> 'a t
val mapM : ('a -> 'b t) -> 'a list -> 'b list t
val map2M : ('a -> 'b -> 'c t) -> 'a list -> 'b list -> 'c list t
val iterM : ('a -> unit repr t) -> 'a list -> unit repr t
val iter2M : ('a -> 'b -> unit repr t) -> 'a list -> 'b list -> unit repr t
module Bool : sig ... end
module Num : sig ... end
module Enum (N : sig ... end) : sig ... end
module Bytes : sig ... end
val constant_bool : bool -> bool repr t
val constant_bytes : ?le:bool -> bytes -> bool list repr t
val constant_uint32 : ?le:bool -> Stdint.Uint32.t -> bool list repr t
OCaml

Innovation. Community. Security.