def neg
import bendtorch-core@0.1.0.0/src/autograd/backward.bend as Backwardimport Base
327# Records -a, with the same refusal as binary.
328def neg(tape: Tape, +a: Nat) -> Tape & Result<&2, &2, Error, Nat>:
329 Tape{+entries} = tape
330 negated(entries, a, value(Tape{entries}, a))