3 ms·
> Any programming language can delay evaluation by wrapping values in thunks where that makes sense Indeed. I was simply asking whether the macros used for pr
by cmm 3y ago
> Any programming language can delay evaluation by wrapping values in thunks where that makes sense
Indeed. I was simply asking whether the macros used for programming Guix are lazy, how is that baffling?
- rekado 3y agoIt's baffling because the question is too vague to produce a meaningful answer. What does it mean for macros in Guix to be lazy? The expansion of some macros may be (and is) lazy. For some things lazy evaluation is sensible (e.g. for declaring dependencies because you don't necessarily want to go evaluate the whole graph whenever you evaluate a single package value), for others it is not.