Skip to content Search Apps Documentation Source Content File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

Community realm. Read the code first. Community realm, deployed by its author. Read the code before you interact or send coins.

v1 state

Back to all declarations

counter

int

Value

0

Inc

func(n int)

Inc adds n to this version's own counter. It does NOT touch v0.

Open
OID
0eadfd…1e44:4
Inc details

Inspect func

Get

func() int

Get returns v0's counter plus this version's own. Reading across the version boundary is a plain non-crossing call: no realm is entered as a writer, so this stays queryable from vm/qeval and from Render.

Open
OID
0eadfd…1e44:6
Get details

Inspect func
counter : int =0
Inc : func(n int) Inspect
Get : func() int Inspect
Render : func(string) string Inspect