[erlang-questions] clarfy: where is -spec(...) syntax documented
Tue Dec 18 09:30:41 CET 2007
Paul Fisher wrote:
> Where is the new "-spec(...)" syntax documented? I've poked around the
> R12 doc and googled, but turned up nothing.
That's because there is no documentation of it ;-)
The specs are currently taken into account by Dialyzer, and there is an
EEP in the pipe, but we haven't submitted it yet. The spec and type
declarations should be considered as unsupported (and undocumented) for
now, but if you can't wait until the EEP is submitted, you can have a
look around at the various contracts in hipe/kernel/stdlib and you will
probably get the idea.
> erlang-questions mailing list
More information about the erlang-questions