Skip to content

Can a single-file definition use _module.args any more gracefully than this? #83

Answered by roberth
shanesveller asked this question in Q&A
Discussion options

You must be logged in to vote

I think your choice to define pkgs in a separate module illustrates the difference quite well. You wouldn't be able to access pkgs in other modules if it was in a let binding. (Other modules being in other files as well; defining anonymous modules in the same file is not something to encourage, partly because the file name may be lost in error messages)

Even nicer would be to implement

#82 is intended for overlay publishing; not overlay consumption.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@shanesveller
Comment options

Answer selected by shanesveller
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants