[erlang-questions] -spec notation for unexported functions?

Adam Lindberg adam@REDACTED
Fri Jan 23 09:23:50 CET 2009


Hi,

When using Dialyzer and augmenting the code with -spec specifications, what is the preferred level of brevity? For ALL functions in a module or only for the exported interface functions? Which way gives a more correct analysis?

It is also a readability issue, the spec's are nice, but too many of them are a bit hard to read.

Cheers,
Adam



More information about the erlang-questions mailing list