✓
Passing This code compiles and runs correctly.
Code
import std/io
import std/store
std/store:new(c) { v: 0[i64] }
std/store:watch(c)
! v x |> std/io:print.ln("a")
|> std/io:print.ln("b")
|> std/io:print.ln("d")
std/store:stored { c.v: 1 }
Actual
a
b
d
Expected output
a
b
d
Flows
flow ~new click a branch to expand · @labels scroll to their anchor
new (expr: c, source: v: 0[i64])
flow ~watch click a branch to expand · @labels scroll to their anchor
watch (expr: c)
flow ~stored click a branch to expand · @labels scroll to their anchor
stored (source: c.v: 1)
Test Configuration
MUST_RUN