This website requires JavaScript.
Explore
Help
Register
Sign in
mdebray
/
tvl-depot
Watch
1
Star
0
Fork
You've already forked tvl-depot
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
fbf17f1ad7
tvl-depot
/
tests
/
lang
/
eval-okay-empty-args.nix
2 lines
48 B
Nix
Raw
Normal View
History
Unescape
Escape
* Allow empty argument lists in function definitions (e.g., `{}: bla'). Also allow trailing commas (`{x, y,}: ...') as a unintented consequence. Hopefully the reduce/reduce conflict won't cause any problems.
2007-05-15 14:14:37 +02:00
(
{
}:
{
x
,
y
,
}:
"
${
x
}
${
y
}
"
)
{
}
{
x
=
"
a
"
;
y
=
"
b
"
;
}
Reference in a new issue
Copy permalink