[erlang-questions] Question about edoc and type specifications

Kenneth Lundin <>
Tue Aug 3 14:31:08 CEST 2010


Support for -spec and -type in edoc is under development but is not
ready for release yet.
Will probably be released in R14B01 or 02.

/Kenneth Erlang/OTP Ericsson

On Tue, Aug 3, 2010 at 1:53 PM, Noel Bush <> wrote:
> On Oct 21 2008, 4:30 pm, Richard Carlsson <> wrote:
>> Taavi Talvik wrote:
>> > Hello!
>> > Has anyone done work on edoc to use type specifications (EEP-008).
>> > If not - any hints where to start. Any pointer to -spec abstract syntax?
>> > Compiler /spec them and they are nicely inserted into syntax tree. And
>> > it would be nice to see real type specifications in doc.
>> It would be nice, yes. I have planned to make edoc parse the -spec
>> declarations, but have not had time to work on it yet. It should be
>> fixed for R13 next year, though.
>>     /Richard
> I'm trying to get this to work, but it doesn't seem to. I converted
> all my "@spec"s to "-spec"s and ran edoc, but all the function
> specifications disappeared from my documentation. Likewise I can't get
> edoc to make anything out of "-type"s. Is there an option I need to
> use when invoking edoc to get this to work, or is it just still in the
> pipeline?
> Noel
> ________________________________________________________________
> erlang-questions (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:

More information about the erlang-questions mailing list