package octez-bls12-381-polynomial

  1. Overview
  2. Docs
module type Elt_sig = sig ... end
module type Carray_sig = sig ... end
module Make (Elt : Elt_sig) : Carray_sig with type elt = Elt.t

Note that an unsafe type casting is performed by this module. USE WITH CARE! The type of get and set changes with whatever Elt.t is given as input. This works because Elt also indicates the size in bytes which would be read/written and because Elt is assumed to be backed by a custom block (it is accessed with Data_custom_val).

OCaml

Innovation. Community. Security.