Synthetica has quit [Quit: Connection closed for inactivity]
{^_^} has quit [Ping timeout: 250 seconds]
pie_ has joined #nix-lang
pie__ has joined #nix-lang
pie_ has quit [Ping timeout: 252 seconds]
<pie__>
would a language extension where you can have a default argument that gets extended by new arguments, as opposed to not set, make sense? or would that make things too complicated? right now im just using { arg ? {} } and then later where I use arg I do (defaults.arg // arg)
<ekleog>
The definition of “extended” is going to be quite heavily problem-specific
<ekleog>
`//` is one possible version, but `submodule { foo = lines; bar = listOf any; }` in nixos module parlance is another
<ekleog>
so for the minor boilerplate it requires, I'm not sure it's worth including an entire extension system in the nix language