package octez-bls12-381-polynomial

  1. Overview
  2. Docs

Module Octez_bls12_381_polynomial.CarraySource

Sourcemodule type Elt_sig = sig ... end
Sourcemodule type Carray_sig = sig ... end
Sourcemodule 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).