This website requires JavaScript.
Explore
Help
Sign in
max
/
nix-super
Watch
1
Star
0
Fork
You've already forked nix-super
0
mirror of
https://github.com/privatevoid-net/nix-super.git
synced
2024-11-10 16:26:18 +02:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
b10256af51
nix-super
/
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 18:29:21 +03: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 17:46:36 +03:00
* Builtin function `add' to add integers. * Put common test functions in tests/lang/lib.nix.
2006-09-22 18:29:21 +03: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 17:46:36 +03:00
body
=
concat
[
"
f
o
o
"
"
b
a
r
"
"
b
l
a
"
"
t
e
s
t
"
]
;
}
Reference in a new issue
Copy permalink