package tezos-plompiler

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type scalar
type 'a repr
type 'a 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 : sig ... end
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 Num : sig ... end
module Bool : sig ... end
module Ecc : sig ... end
module Poseidon : sig ... end
val hd : 'a list repr -> 'a repr t
OCaml

Innovation. Community. Security.