edoc question

Martin Bjorklund mbj@REDACTED
Fri Oct 21 11:28:40 CEST 2005

How do I specify that a parameter to a function should be a certain

I'd like to write
  %% @type Foo = #foo{}

but that doesn't work.

I end up with 

  %% @type Foo = tuple()
  %% @end
  %% Foo is really a #foo{}


  %% @type ...
  %% @end
  %% type Foo = #foo{}

I tried another variant, to use edoc comments like this:

  % % @type Foo = #foo{}

but it seems as edoc parses the expression even if it's commented out?


More information about the erlang-questions mailing list