Declarative signature specification for built-in functions #10373
Labels
contributor-experience
Developer experience for Nix contributors
documentation
language
The Nix expression language; parser, interpreter, primops, evaluation, etc
Problem statement
Currently, implementation of
builtins
procedurally checks validity of arguments, and interface documentation has to be written manually.Solution proposal
Create a data structure that represents language values and use that when registering primops; automatically generate interface documentation from that.
Related
builtins.fetchTree
docs #9732The text was updated successfully, but these errors were encountered: