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

README.md

1.54 Kb · 33 lines

BitSet

⚠️ Experimental — generated with no human supervision by the daily MCP pipeline to exercise gno tooling. Not audited. See r/moul/x/daily.


Sieves the primes under 100 into a bit set and shows the set algebra on two small sets, rendered as a table.

Demo of the p/moul/x/daily/bitset library — storage, popcount and every set operation come from the package; this realm does no bit-twiddling of its own. Stateless and read-only, so Render is fully deterministic.

The sieve is a nice fit: the bit set is used twice, once as the composite marker and once as the result, which is exactly what a dense bit vector is for.

Built for gno 0.9.


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:

gno.land/r/moul/x/daily/bitsetdemo/v0 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.