Forgot to say, I think the best route would be @doc see: "String.length/1".
Then it's the job of the doc tool to render it if they want to.

On Fri, 24 May 2019 at 23:16, José Valim <[email protected]>
wrote:

> Hi Dave!
>
> I actually agree with the principle. We tried copying the docs in recent
> versions for all defdelegate but it turned out that the documentation may
> refer to different variable names in the docs or link to local functions
> and types that do not exist in the delegator, that’s why we settled on
> simply linking to the delegated.
>
> Btw, “see” could be implemented as a library today, it just needs to be a
> macro (a module attribute would be weird, especially since “@attr val” is
> meant to set the attribute, and not execute custom code). So I would go
> this route!
>
> Thanks for the proposal!
>
> --
>
>
> *José Valim*
> www.plataformatec.com.br
> Skype: jv.ptec
> Founder and Director of R&D
>
> --
> You received this message because you are subscribed to the Google Groups
> "elixir-lang-core" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4KT55uQMFn6t6xGFed%2BgSHFL%2BYUJ7BhieAx_ov_B5FJ4Q%40mail.gmail.com
> <https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4KT55uQMFn6t6xGFed%2BgSHFL%2BYUJ7BhieAx_ov_B5FJ4Q%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
-- 

Andrea Leopardi
[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/CAM9Rf%2BJFfvG1WFTBj3EukLt5JV8ppLgQz0aSRosk%3D46W_WhKog%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to