This website requires JavaScript.
Explore
Help
Sign In
nordic-dev.net
/
nix
Watch
2
Star
0
Fork
0
You've already forked nix
mirror of
https://github.com/NixOS/nix.git
synced
2024-11-22 23:02:27 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
2.23-maintenance
nix
/
tests
/
functional
/
lang
/
eval-okay-list.nix
7 lines
81 B
Nix
Raw
Permalink
Normal View
History
Unescape
Escape
* Builtin function `add' to add integers. * Put common test functions in tests/lang/lib.nix.
2006-09-22 15:29:21 +00:00
with
import
./lib.nix
;
* Builtin functions `head' and `tail' to return the head and tail of list. Useful for lots of things, such as implementing a fold function (see NIX-30, example is in tests/lang/eval-okay-list.nix).
2006-09-22 14:46:36 +00:00
* Builtin function `add' to add integers. * Put common test functions in tests/lang/lib.nix.
2006-09-22 15:29:21 +00:00
let
{
* Builtin functions `head' and `tail' to return the head and tail of list. Useful for lots of things, such as implementing a fold function (see NIX-30, example is in tests/lang/eval-okay-list.nix).
2006-09-22 14:46:36 +00:00
body
=
concat
[
"
f
o
o
"
"
b
a
r
"
"
b
l
a
"
"
t
e
s
t
"
]
;
}
Reference in New Issue
Copy Permalink