[erlang-questions] further documentation for -spec directive?

Max Bourinov <>
Tue Jan 8 06:17:06 CET 2013


>
> Simon -
>
> These examples might be helpful to you (but no guarantee for the
> "goodness"):
>
> https://github.com/norton/gen-ets/blob/master/src/gen_ets.erl
> https://github.com/norton/lets/blob/master/src/lets.erl
>
> I'd also recommend using find and grep to search for the "-spec" directive
> in the Erlang/OTP code base itself.
>
> https://github.com/erlang/otp
>
> You should find plenty of examples.
>
>
This is how I learned -spec directives. I thought that there is somewhere
secret pdf that has full specification for -spec =)


> regards,
>
> Joe N.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130108/f31e7719/attachment.html>


More information about the erlang-questions mailing list