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

Magnus Henoch <>
Fri Mar 20 11:03:44 CET 2009


Hi,

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, 
Erlang Training and Consulting
http://www.erlang-consulting.com/




More information about the erlang-questions mailing list