This website requires JavaScript.
Explore
Help
Sign In
cafkafk
/
lix
Watch
1
Star
0
Fork
You've already forked lix
0
Code
Issues
Pull requests
1
Projects
Releases
Packages
Wiki
Activity
Actions
aa7e52abff
lix
/
tests
/
lang
/
eval-okay-list.nix
7 lines
81 B
Nix
Raw
Normal View
History
Unescape
Escape
* Builtin function `add' to add integers. * Put common test functions in tests/lang/lib.nix.
2006-09-22 17:29:21 +02: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 16:46:36 +02:00
* Builtin function `add' to add integers. * Put common test functions in tests/lang/lib.nix.
2006-09-22 17:29:21 +02: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 16:46:36 +02:00
body
=
concat
[
"
f
o
o
"
"
b
a
r
"
"
b
l
a
"
"
t
e
s
t
"
]
;
}
Reference in a new issue
Copy permalink