|
|
|
|
|
by pmarreck
1553 days ago
|
|
You provided what is probably a logical explanation but didn't answer the question in the way he meant it (I think), which is: Addressing common use-cases should be a simple matter. Addressing complex use-cases should ALSO be a simple matter ideally, but is permitted to be a complex matter. Here we have a case where a common use-case is addressed by a complex-seeming solution (unless you are essentially "degreed" in Nix, apparently, and understand exactly why partial function application won't work here or whatever). Or are you saying he's actually doing it wrong and built the nix file wrong? I'm about to dive headfirst into this nix business and this is intimidating, lol |
|
Fully agree, but the given example isn't such a case but rather incorrect code.
The example is somewhat akin to writing the following Python code and expecting it to print "hello".
It wouldn't work because you need to call the main function. It's not a problem of Python not addressing common use cases.