o1-labs / snarky

OCaml DSL for verifiable computation
MIT License
494 stars 74 forks source link

Creating Typ using the imperative interface #792

Closed mimoo closed 1 year ago

mimoo commented 1 year ago

it's really weird that the check function of a Typ expects a 'var -> Checked.t now that we have the imperative interface. That function should look like any circuit written using the imperative interface ('var -> unit)

(I believe at the moment when writing a new Typ you need to use Impl.make_checked to convert your function to a Checked.t)

github-actions[bot] commented 1 year ago

Stale issue message