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
record?
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{}
or
%% @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?
/martin
More information about the erlang-questions
mailing list