hi there,
i had a nix question based on earlier comments on function calls preventing caching of results.
i was trying to understand what this means for writing performant nix code, but felt like i might not grasp the details here well enough.
for example, to DRY up some of the repetition in my code, I had tried to use functions to factor these out, which then sounds bad for performance.
i might then do away with such abstractions, but wondered if it gets better.
to make nix code reusable, for example, we may write option modules, which can essentially encapsulating any function calls so their consumer would not need to use those directly.
my question then is, might use of option modules help restore this ability to cache results?