hmpffff has joined #nix-lang
hmpffff_ has joined #nix-lang
hmpffff has quit [Ping timeout: 252 seconds]
hmpffff_ has quit [Quit: nchrrrr…]
__monty__ has joined #nix-lang
pie_ has quit [Ping timeout: 245 seconds]
inara has quit [Quit: Leaving]
ivan has quit [Quit: lp0 on fire]
inara has joined #nix-lang
ivan has joined #nix-lang
hmpffff has joined #nix-lang
hmpffff has quit [Quit: nchrrrr…]
pie_ has joined #nix-lang
noonien has joined #nix-lang
hmpffff has joined #nix-lang
<
pie_>
has anyone considered being able to name a ... expression? something like "{a,b,c,...@wat}: wat"
<
pie_>
this way you wouldnt need to do a big removeattrs if you jsut wanted to access the extra arguments
<
pie_>
(a better syntax is probably possible, thats just an example)
<
infinisil>
Oh interesting, that would be a neat solution to this problem
<
pie_>
ok since you arent totally opposed to it i might as well open a nix issue xD
<
pie_>
is there a name for ... so that i can search for it
<
{^_^}>
nix#2998 (by deliciouslytyped, 23 seconds ago, open): Named ellipses
<
pie_>
im open to suggestions for improving my pitch
srhb has joined #nix-lang
noonien has quit [Quit: Connection closed for inactivity]
<
infinisil>
> builtins.toXml ({ ... }: 0)
<
{^_^}>
attribute 'toXml' missing, at (string):255:1
<
infinisil>
> builtins.toXML ({ ... }: 0)
<
{^_^}>
"<?xml version='1.0' encoding='utf-8'?>\n<expr>\n <function>\n <attrspat ellipsis=\"1\">\n </attrspat>\n </function>\n</expr>\n"
<
infinisil>
pie_: ^
<
infinisil>
ellipsis apparently :)
<
pie_>
thats an interesting way to do tht
__monty__ has quit [Quit: leaving]
hmpffff has quit [Quit: Bye…]