This website requires JavaScript.
Explore
Help
Sign In
cafkafk
/
lix
Watch
1
Star
0
Fork
You've already forked lix
0
Code
Issues
Pull requests
1
Projects
Releases
Packages
Wiki
Activity
Actions
2c75945de5
lix
/
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