mirror of
https://github.com/NixOS/nix
synced 2025-06-27 04:21:16 +02:00
* More operators / primops.
This commit is contained in:
parent
c9170be2bd
commit
47df476daa
5 changed files with 145 additions and 187 deletions
|
@ -72,6 +72,7 @@ void run(Strings args)
|
|||
//doTest("import ./foo.nix");
|
||||
doTest("map (x: __add 1 x) [ 1 2 3 ]");
|
||||
doTest("map (builtins.add 1) [ 1 2 3 ]");
|
||||
doTest("builtins.hasAttr \"x\" { x = 1; }");
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue