This website requires JavaScript.
Explore
Help
Sign In
soenkehahn
/
lix
Watch
0
Star
0
Fork
You've already forked lix
0
forked from
lix-project/lix
Code
Pull requests
Activity
0edfea450b
lix
/
tests
/
functional
/
lang
/
eval-fail-remove.nix
5 lines
68 B
Nix
Raw
Normal View
History
Unescape
Escape
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
let
* Added a primop `removeAttrs' to remove attributes from a set, e.g., `removeAttrs attrs ["x", "y"]' returns the set `attrs' with the attributes named `x' and `y' removed. It is not an error for the named attributes to be missing from the input set.
2005-05-18 17:19:21 +00:00
attrs
=
{
x
=
123
;
y
=
456
;
}
;
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
in
(
removeAttrs
attrs
[
"
x
"
]
)
.
x
Copy permalink