def history
bendtorch-core@0.1.0.0 · src/tensor/contracts/matmul_parallel_proof.bend:402
import bendtorch-core@0.1.0.0/src/tensor/contracts/matmul_parallel_proof.bend as MatmulParallelProof
import Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape
import bendtorch-core@0.1.0.0/src/storage/LAWS.bend as StorageLaws
import bendtorch-core@0.1.0.0/src/tensor/contracts/binary_storage_proof.bend as Owned
import bendtorch-core@0.1.0.0/src/storage/api.bend as Api
402
403
404def history(+shape: Shape.Shape, +ops: List<&2, StorageLaws.Op>) -> List<&2, Api.Effect>:
405 Api.Right{} <> Owned.norm(U32.to_nat(Shape.count(shape)), ops, Nil{})