This website requires JavaScript.
Explore
Help
Sign In
lix-project
/
lix
Watch
20
Star
58
Fork
You've already forked lix
31
Code
Issues
355
Code Review (Gerrit)
Projects
3
Releases
Wiki
Activity
a2ae14bfd8
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