func Render
Render renders the demo for gnoweb.
Package heapdemo is a small gnoweb demo of the binary heap / priority queue provided by the [p/moul/x/daily/heap](/p/...
gno.land/r/moul/x/daily/heapdemo/v0Live demo of p/moul/x/daily/heap.
A thin, stateless realm: it holds no state of its own and contains none of the
library's logic — Render just exercises the package and shows the result.
Because it is stateless, the rendered page is identical on every call and on
every node.
Render it at /r/moul/x/daily/heapdemo/v0.
The library README explains the design and the trade-offs; this realm is the worked example.
Part of moul/gno-contracts — moul's versioned gno.land contracts. See the repository for the full catalog, build/test tooling, and usage.
Dependency graph:

🧪 Highly experimental — potentially vibe-coded. Not audited; may break, change, or be removed at any time. Do not use with anything of value. Full disclaimer: DISCLAIMER.
Package heapdemo is a small gnoweb demo of the binary heap / priority queue provided by the p/moul/x/daily/heap(/p/moul/x/daily/heap/v0) library: it shows min- and max-ordering and the deterministic tiebreak.
It contains no heap logic of its own. Stateless, so Render is deterministic — which is precisely what the library is for.