[erlang-questions] question about erlang doc

Jeremy Ong <>
Sun Dec 16 20:12:50 CET 2012


See http://www.erlang.org/doc/reference_manual/typespec.html for more
details. Think of the type specification as a sort of function prototype
(coming from the C world).


On Sun, Dec 16, 2012 at 8:35 AM, Rustom Mody <> wrote:

> In http://www.erlang.org/doc/man/random.html I see this line:
>
> seed(X1 :: {A1, A2, A3}) -> undefined | ran()<http://www.erlang.org/doc/man/random.html#type-ran>
>
> Whats the '::' ?
> Also I cant figure out how to read what follows the '->'
>
> Please note I am not so much interested in the specifics of random numbers
> as in being able to read the manual!
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20121216/d47a1925/attachment.html>


More information about the erlang-questions mailing list