From e6fe33e91dfa67d4646c158b9f13a3953671771b Mon Sep 17 00:00:00 2001 From: Noah Gardner Date: Sat, 31 Oct 2026 23:58:09 -0400 Subject: [PATCH] docs(laws): an internal law holds behavior in place The header said internal modules carry no promise. A law file is behavior that must not change without review, interface or internal; a law about an internal module holds it in place without making it interface. Co-Authored-By: Claude Opus 5.5 --- LAWS.bend | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LAWS.bend b/LAWS.bend index 73590e3..9fd3092 100644 --- a/LAWS.bend +++ b/LAWS.bend @@ -7,8 +7,8 @@ # # There are two families: conformance to RFC 8259 (the text, number, string # and print guarantees) and the public interface in main.bend (the tree, the -# pull cursor and fixed decimals). Every other module is internal and carries -# no promise. +# pull cursor and fixed decimals). Every other module is internal: a law about +# one holds it in place without making it interface. # # A value is well-formed when `V.wf` holds of it: its arrays and objects are # chains of cells ending in `JNil`, no cell stands where a value belongs, and