[erlang-questions] queue() vs queue(A)

Magnus Henoch magnus@REDACTED
Fri Mar 20 11:03:44 CET 2009


I read queue.erl in R13A and saw the new type definition:

-opaque queue() :: {list(),list()}.

Is there any reason why this is not:

-opaque queue(A) :: {list(A),list(A)}.

or did my thoughts just wander too far into That Other Language again? :)

Magnus Henoch, magnus@REDACTED
Erlang Training and Consulting

More information about the erlang-questions mailing list