Hi, zimoun <[email protected]> skribis:
> My comment was about an unrelated thing. I don’t take comments about unrelated things. ;-) > Well, I do not use every day G-exp nor ’plain-file’ and the like. The > interface appears to me unexpected each time I use it but hey I can > live with it. :-) However, the documentation (or docstring) does not > appear clear, each time I have my «aaah right!» moment. [...] > it is hard to guess beforehand that ’plain-file’ and ’mixed-text-file’ > do not return the same type of file-like object. As someone who writes gexps and manipulates “file-like objects”, it doesn’t matter whether a thing lowers to a derivation or to a plain store item. What matters is that you can insert it in a gexp and it’ll do the right thing. That’s why the docstrings don’t insist on that difference. Hope it makes sense! Ludo’.
