[erlang-questions] dialyzer output help

Roelof Wobben r.wobben@REDACTED
Mon Aug 10 15:04:12 CEST 2015


Op 10-8-2015 om 14:56 schreef Loïc Hoguin:
> On 08/10/2015 02:51 PM, Garrett Smith wrote:
>> On Mon, Aug 10, 2015 at 7:47 AM, Loïc Hoguin <essen@REDACTED> wrote:
>>> Separate the documentation from the code
>>
>> For documenting modules along the lines of erlang.org's reference
>> material [1] what do you do?
>>
>> [1] E.g. http://erlang.org/doc/man/lists.html
>
> This is what *they* do:
>
> https://github.com/erlang/otp/blob/maint/lib/stdlib/doc/src/lists.xml
>
> What I do is similar, except using Asciidoc:
>
> https://github.com/ninenines/gun/blob/master/doc/src/manual/gun.asciidoc
>
> (Tried a few formats over the years, settled on that one recently, 
> don't think I'll switch again. :-)
>


Thanks,

But now I more confused.
Im reading the introducing erlang book and there is always stated to 
document your code.

I find this the most difficult part because how do I document something 
like the area function.

Roelof


---
Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware.
https://www.avast.com/antivirus




More information about the erlang-questions mailing list