ludic/examples/rejected/layer_cycle/hud/index.ludic
Orkuncakilkaya 7b8c134c21 feat(lang): layers - module flow in layer app uses base, items
The modules of one layer use each other freely and may go round;
anything outside the layer is held to the module's uses, and a layered
module with no uses reaches nothing outside it. The cycle check walks
the graph with each layer as one node, so a cycle leaving a layer is
refused. ludic deps shows the layers and counts the largest cycle
without their own edges. Reseed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-25 12:54:15 +03:00

5 lines
180 B
Text

# hud/index.ludic - in layer app: it reaches menu back - a cycle, allowed inside the layer
module hud in layer app
export function hud_lines() -> int {
return menu_title() + 1
}