src/storage/model.bend checks
raw source on the hub · import bendtorch-core@0.1.0.0/src/storage/model.bend as Model
1 import
import Base
Types
type Step source · line 18 · raw
@-d:Nat -> Data
Step@-d:Nat -> @bit:Bool -> @tail:Path(d) -> Step<d>
Definitions
def capacity source · line 3 · raw
@d:Nat -> Nat
def Path source · line 11 · raw
@d:Nat -> Data
def offset_step source · line 21 · raw
@b:Bool -> @half:Nat -> @tail:Nat -> Nat
def offset source · line 28 · raw
@d:Nat -> @path:Path(d) -> Nat
def same source · line 36 · raw
@d:Nat -> @a:Path(d) -> @b:Path(d) -> Bool
def Balanced source · line 45 · raw
@-T:Type -> @d:Nat -> @array:Array<T> -> Type
def observe source · line 56 · raw
@-T:Data -> @d:Nat -> @array:Array<T> -> @path:Path(d) -> Maybe<&2, T>
def select source · line 72 · raw
@-T:Data -> @b:Bool -> @value:T -> @old:Maybe<&2, T> -> Maybe<&2, T>