law write_read
import bendtorch-core@0.1.0.0/src/storage/LAWS.bend as LAWSimport Base
import bendtorch-core@0.1.0.0/src/storage/model.bend as Model
import bendtorch-core@0.1.0.0/src/storage/array.bend as ArrayCore
7law write_read:
8 for -T: Data
9 for +d: Nat
10 for array: Array<T>
11 for +path: Model.Path(d)
12 for value: T
13 for valid: Model.Balanced(T, d, array)
14 {Model.observe(T, d, ArrayCore.write_path(T, d, array, path, value), path) == Some{value} : Maybe<&2, T>}
Uses (8)
Used by (0)
No other definition uses this definition.