sch
first-class schema descriptors (`{t:"sch", flds:[…]}`): defaults, diff/patch, wire plan, transforms (on_load/on_save), lazy field checks, version/migration domain, REST/CRUD sketches.
Load with: use sch
Quick example
use sch
result = schfl("value")
prn(result)
Functions
Functions
schfl(sch)
Performs the operation. Takes sch.
schfi(sch)
Performs the operation. Takes sch.
schfind(sch, nm)
Performs the operation. Takes sch, nm.
schsh(o)
Performs the operation. Takes o.
schap(o, sch)
Performs the operation. Takes o, sch.
schdi(a, b, ks)
Disconnects. Takes a, b, ks.
schdi2(a, b, sch)
Performs the operation. Takes a, b, sch.
schpa(base, delta)
Parses. Takes base, delta.
schpa2(base, delta, sch)
Performs the operation. Takes base, delta, sch.
schbi(sch, load_fns, save_fns)
Performs the operation. Takes sch, load_fns, save_fns.
schru(v, sch, which)
Runs. Takes v, sch, which.
schonld(v, sch)
Performs the operation. Takes v, sch.
schonsv(v, sch)
Performs the operation. Takes v, sch.
schwi(sch, ver)
Performs the operation. Takes sch, ver.
schve(sch)
Performs the operation. Takes sch.
schveobj(o)
Performs the operation. Takes o.
schveset(o, ver)
Performs the operation. Takes o, ver.
schmi(o, fns)
Performs the operation. Takes o, fns.
schmis(o, steps)
Returns true/false based on a condition. Takes o, steps.
schva(sch, nm, v)
Performs the operation. Takes sch, nm, v.
schat(o, sch, nm)
Performs the operation. Takes o, sch, nm.
schla(v, sch)
Performs the operation. Takes v, sch.
schty(ta)
Performs the operation. Takes ta.
schbp(sch)
Performs the operation. Takes sch.
schem(sch)
Performs the operation. Takes sch.
schbk(sch)
Performs the operation. Takes sch.
schht(sch, pfx)
Performs the operation. Takes sch, pfx.
schht2(sch, pfx, id_key)
Performs the operation. Takes sch, pfx, id_key.
schex(v, sch, mode)
Executes. Takes v, sch, mode.
Notes
- Scheduler - cron jobs, delayed tasks, recurring events.