mirror of
https://github.com/NixOS/nix
synced 2025-06-27 04:21:16 +02:00
* Implemented `map'.
This commit is contained in:
parent
d78a05ab40
commit
5b72d8a749
4 changed files with 139 additions and 108 deletions
|
@ -68,6 +68,8 @@ void run(Strings args)
|
|||
doTest("let x = x; in if true || x then 1 else 2");
|
||||
doTest("/etc/passwd");
|
||||
doTest("import ./foo.nix");
|
||||
doTest("map (x: __add 1 x) [ 1 2 3 ]");
|
||||
doTest("map (__add 1) [ 1 2 3 ]");
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue