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

Martynas Pumputis martynasp@REDACTED
Tue Jan 8 09:21:41 CET 2013


Chapter about Dialyzer in LYSE might be useful :
http://learnyousomeerlang.com/dialyzer

Martynas

On Tue, Jan 8, 2013 at 6:17 AM, Max Bourinov <bourinov@REDACTED> wrote:
>
>>
>> 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.
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>



More information about the erlang-questions mailing list