IRC channel logs


back to list of logs

***rekado_ is now known as rekado
<zimoun>civodul: when inheriting, it can be annoying to repeat the package from which it inherit, where pacckage-arguments or package-inputs or else is modified.
<zimoun>well, ’let’ does the job.
<zimoun>the question is: does it exit a kind of ’this’ or ’super’ to access to that instead of repeating the symbol?
<civodul>zimoun: yeah, i wonder
<civodul>you might like
<zimoun>well, back to this example, starpu+fxt depends on starpu (inherit) and again starpu (arguments).
<zimoun>So if now I have another package starpu+mine and I want to build starpu+fxt, I have to modify all the occurences of starpu which is annoying.
<civodul>yeah, i agree
<civodul>i guess we could have a "parent" syntax parameter that would be set in the lexical scope of the 'inherit' thing
<zimoun>aside the issue as which looks like bug#50335
<zimoun>yeah, something like that. Python use __super__ to refer to parent.
<civodul>keep in mind that despite the name it has nothing to do with inheritance in the OO sense :-)
<zimoun>yeah, that’s just the buzz word for copy ;-)
<civodul>also, "super" is they keyword we use to refer to Guix as a whole :-)
<zimoun>well, my point is just just that “this” is the common OO for the current class. What is the common for parent?
<zimoun>*common term