add argument in favor of semver

This commit is contained in:
Valentin Gagarin 2023-06-15 15:02:19 +02:00 committed by GitHub
parent d97603e26d
commit d54d6bc670
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -102,6 +102,7 @@ Other discussions around language changes:
- [Semantic Versioning](https://semver.org/) - [Semantic Versioning](https://semver.org/)
- (+) Can distinguish additions from other changes - (+) 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 - (-) 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 - (-) Requires more characters to account for the added expressiveness
- This may be relevant depending on where it has to be encoded - 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 - Use version numbers of Nix stable releases for specifying the version of the Nix language