From d54d6bc67055d46db46f79814198b06c574e8de5 Mon Sep 17 00:00:00 2001 From: Valentin Gagarin Date: Thu, 15 Jun 2023 15:02:19 +0200 Subject: [PATCH] add argument in favor of semver --- rfcs/0137-nix-language-version.md | 1 + 1 file changed, 1 insertion(+) diff --git a/rfcs/0137-nix-language-version.md b/rfcs/0137-nix-language-version.md index e880341..e9439c6 100644 --- a/rfcs/0137-nix-language-version.md +++ b/rfcs/0137-nix-language-version.md @@ -102,6 +102,7 @@ Other discussions around language changes: - [Semantic Versioning](https://semver.org/) - (+) Can distinguish additions from other changes - (-) This is not needed for our use case, since any addition to an expression will break for older evaluators even if the major version matches + - (+) Simplifies evaluator implementation: pure additions can be guarded by the minor version cleanly within a major version's evaluator code - (-) Requires more characters to account for the added expressiveness - This may be relevant depending on where it has to be encoded - Use version numbers of Nix stable releases for specifying the version of the Nix language