[erlang-questions] Best practice for defining functions with edoc,erlc,eunit and the dialyzer

Brentley Jones <>
Wed Dec 2 15:55:27 CET 2009


On Dec 2, 2009, at 5:08 AM, Frank Mueller wrote:

>>    3) Does anything else have to be fixed?
> 
> I'm not happy with the mixed notation in comments or using -spec. So it should be @spec in a
> comment or -doc handled like -spec.

I also agree here. I would prefer that I could write everything in a module attribute style. Then
edoc, and other programs, could read the attribute instead of parsing the file.

- Brentley Jones


More information about the erlang-questions mailing list