[erlang-questions] peculiar type spec
Raghav Karol
raghav.karol@REDACTED
Tue Jan 24 23:02:12 CET 2017
I recently came across this type specification
-type index_spec() :: {add, Index, SecondaryKey} | {remove, Index,
SecondaryKey}.
* Is this a `type variable', see [1] and how does one interpret it?
Best,
Raghav
[1] http://erlang.org/doc/reference_manual/typespec.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170124/f4f2e477/attachment.htm>
More information about the erlang-questions
mailing list