def write_succeeded

bendtorch-core@0.1.0.0 · src/tensor/transform_totality.bend:20

import bendtorch-core@0.1.0.0/src/tensor/transform_totality.bend as TransformTotality
import Base
import bendtorch-core@0.1.0.0/src/shape/core.bend as Shape
import bendtorch-core@0.1.0.0/src/tensor/core.bend as Core

20def write_succeeded(-shape: Shape.Shape, pair: Core.Tensor<shape> & Result<&2, &2, Core.Error, Unit>) -> Bool:
21  (owner, result) = pair
22  Result.is_done(&2, &2, Core.Error, Unit, result)

Uses (9)

Used by (13)