~/bend-docscommunity

stg.bend checks

raw source on the hub · import 0x9fc0cec754888f0fecabce899ddf2ee5/stg.bend as Stg

1 import
import Base

Types

type SExp source · line 13 · raw

Data

type SVal source · line 21 · raw

Data

type SK source · line 27 · raw

Data

type STask source · line 34 · raw

Data

Definitions

def s_len source · line 40 · raw

@+h:List<&2, SVal> -> Nat

def s_nth source · line 47 · raw

@+a:Nat -> @+h:List<&2, SVal> -> SVal

def s_upd source · line 56 · raw

@+a:Nat -> @+v:SVal -> @+h:List<&2, SVal> -> List<&2, SVal>

def s_num_add source · line 65 · raw

@+a:SVal -> @+b:SVal -> SVal

def s_run source · line 72 · raw

@+f:Nat -> @+t:STask -> SVal

def s_eval source · line 148 · raw

@+f:Nat -> @+e:SExp -> SVal

def s_batch source · line 151 · raw

@+f:Nat -> @+es:List<&2, SExp> -> List<&2, SVal>

def s_batch_gpu source · line 159 · raw

@+f:Nat -> @+es:List<&2, SExp> -> List<&2, SVal>

def main source · line 162 · raw

List<&2, SVal>