__monty__ has joined #nix-lang
sphalerite has quit [Ping timeout: 250 seconds]
sphalerite has joined #nix-lang
Mic92 has joined #nix-lang
<
Mic92>
what is an idiomatic way for a function called foo that does the following
<
Mic92>
foo ({serverAliases = ["foo.com" "bar.com"];}, {serverAliases = ["fiz.com"];}) == {"foo.com" = null; "bar.com" = null; "fiz.com" = null;}
<
Mic92>
this is not precise: foo ({vhosta = {serverAliases = ["foo.com" "bar.com"];}; vhostb = {serverAliases = ["fiz.com"];};)
<
Mic92>
I think I found something
<
infinisil>
Mic92: Why not just take a list of strings?
<
Mic92>
infinisil: I was iterating over nginx virtual hosts to generate san certificates
__monty__ has quit [Quit: leaving]
<
{^_^}>
LnL7/vim-nix#23 (by Mic92, 59 seconds ago, open): add snippets for UltiSnips
<
Mic92>
anything that I forgot?