Does anyone know how to organize docs for protocol implementations? For example I have a protocol callback MyProtocol.run(subject, opts)
However I feel like I could benefit having docs for each particular implementation. Let's say for Map
the accepted options might be slightly different than for List
. AFAIK protocol implementation docs are not compiled and I can't find a good/common approach of doing that. Which make me think if I'm doing it completely wrong.
Documentation for protocol implementations in Elixir - Stack Overflow
评论列表(0)
- 暂无评论