Commit 2025-12-19 19:29 9bd3c6af
View on Github →feat(to_fun): generate doc-strings (#32915)
This PR improves the @[to_fun] attribute by letting it generate a doc-string for the new declaration. The doc-string consists of two parts:
- "Eta-expanded form of
foo" - doc-string of
fooThis is analogous to howaliashas two parts of the doc-string. As a side-effect,reassocand friends now also copy over the doc-string if it exists. For those, I have not added a doc-string prefix, but this can be done if desired.