edoc

Richard Carlsson richardc@REDACTED
Wed Sep 14 10:18:21 CEST 2005


Serge Aleynikov wrote:
> Hi,
> 
> I am having trouble with edoc parsing the following header.  It breaks 
> at the definition of the ConvertFun type (second line below).  According 
> to documentation
> (.../erl5.4.9/lib/edoc-0.6.2/doc/html/overview-summary.html#typespecs)
> I believe this is a valid definition.  Am I wrong?
> 
> %% @spec convert(Data::list(), ConvertFun) -> OutData::list()
> %%         ConvertFun = fun(InRecord::tuple()) -> OutRecord::tuple()

Don't use the 'fun' keyword.

	/Richard



More information about the erlang-questions mailing list