You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Sven Slootweg 883e691efe WIP, some builtins, some fixes for new parser version 10 months ago
..
README.md WIP, some builtins, some fixes for new parser version 10 months ago
remove-attrs.js WIP, some builtins, some fixes for new parser version 10 months ago
seq.js WIP, some builtins, some fixes for new parser version 10 months ago
split-version.js WIP, some builtins, some fixes for new parser version 10 months ago

README.md

This folder contains implementations of the various builtins in Nix.

The way the exported functions are expressed here is subtly different from the rest of the codebase; arrow functions are used instead of regular functions. This is because Nix does not really* have multi-argument functions, and so multi-argument functions need to be expressed as single-argument functions that return other single-argument functions. The only way to ergonomically express this is with nested arrow functions.