The New and Improved edoc

Ulf Wiger ulf.wiger@REDACTED
Wed Feb 25 15:17:17 CET 2004

On Tue, 24 Feb 2004 18:22:29 +0100, Ulf Wiger <ulf.wiger@REDACTED> 
> Since this is going well, I press on with feature requests. (:

Is there some profound reason why Variable '::' Type isn't allowed on the
right-hand side of a function spec? I can write Variable or Type, but not

I'd like to be able to write

%% @spec handle_call(Request::request(), From::from(), State::state()) ->
%%            {reply, Reply::reply(), NewState::state()}

so that I can refer to NewState in the following @doc, but this is not
allowed. I can give it a name or a type, but not both. Vexing.

Ulf Wiger, Senior System Architect

This communication is confidential and intended solely for the addressee(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you believe this message has been sent to you in error, please notify the sender by replying to this transmission and delete the message without disclosing it. Thank you.

E-mail including attachments is susceptible to data corruption, interruption, unauthorized amendment, tampering and viruses, and we only send and receive e-mails on the basis that we are not liable for any such corruption, interception, amendment, tampering or viruses or any consequences thereof.

More information about the erlang-questions mailing list