From 4f54a7f2b55e5965b461b3995cb09cd2c4a0ddbf Mon Sep 17 00:00:00 2001 From: Luis <42945842+ldiaz94@users.noreply.github.com> Date: Thu, 22 Oct 2026 17:24:12 +0100 Subject: [PATCH] The library's deprecation step: an old form stays one minor version --- diff --git a/README.md b/README.md index 1408496..3e2dc5c 100644 --- a/README.md +++ b/README.md @@ -304,7 +304,10 @@ last section says what each version changed. Since v0.5.0 the language is frozen, softly: it changes only to mend a -defect, and the library grows only by what breaks no program. Wishes +defect, and the library grows only by what breaks no program. A library +change that must break programs keeps the old form for one minor version +beside the new; the release notes list the old forms, and the next +version removes them. Wishes wait in `PROPOSALS.md`, for a later thaw; v0.6.0 was one, for a language anyone can build again from its report. diff --git a/doc/raz-lib.md b/doc/raz-lib.md index b9f4c79..f220afa 100644 --- a/doc/raz-lib.md +++ b/doc/raz-lib.md @@ -6,6 +6,11 @@ core binds every implementation (appendix A of the first volume); the rest is the standard library, `Rand`, `Check` and `Prop` among it. +The library grows only by what breaks no program written for it. If a +change must break programs, the old form stays for one minor version +beside the new; the release notes list the old forms, and the next +version removes them. Nothing marks an old form in the source. + Modules written in raz, in the compiler's `lib` directory: | Module | What |