This website requires JavaScript.
Explore
Help
Sign In
lix-project
/
lix
Watch
20
Star
57
Fork
You've already forked lix
31
Code
Issues
349
Code Review (Gerrit)
Projects
3
Releases
Wiki
Activity
b63d4a0c62
lix
/
tests
/
functional
/
lang
/
eval-okay-remove.nix
5 lines
66 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
"
]
)
.
y
Reference in a new issue
Copy permalink