[erlang-questions] Various EDoc questions

Cons T Åhs cons@REDACTED
Tue Mar 10 11:14:59 CET 2015

On 09 Mar 2015, at 16:39, Pawel Kraszewski <pawel@REDACTED> wrote:

> * And last but not least – which documentation form is preferred (if
> not both at once), via -spec(...). or via %% @spec ..., as they seem
> totally redundant? I heavily use Dialyzer, if this information is
> relevant.

Use -spec(..) as that will affect both edoc and dialyzer.  The same is not true for %% @spec which will only make to edoc.


More information about the erlang-questions mailing list