This website requires JavaScript.
Explore
Help
Sign In
philiptaron
/
lix
Watch
0
Star
0
Fork
You've already forked lix
0
forked from
lix-project/lix
Code
Pull requests
Activity
651cc0e5b4
lix
/
tests
/
functional
/
lang
/
eval-okay-list.nix
4 lines
58 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 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
treewide: Stop using ancient let syntax Shows for how long these tests have not been touched by anyone … Change-Id: I3d0c1209a86283ddb012db4e7d45073264fdd0eb
2024-08-18 15:28:04 +00:00
concat
[
"
f
o
o
"
"
b
a
r
"
"
b
l
a
"
"
t
e
s
t
"
]
Copy permalink