in-ram lists

Damir Horvat <>
Fri Mar 24 13:24:48 CET 2006


On Fri, Mar 24, 2006 at 11:07:07AM +0100, Ulf Wiger (AL/EAB) wrote:

> 
> Look at the 'queue' module in stdlib.

Ok, found it. Tryed it. Still have questions.

Q1 = queue:new().
queue:in("item1", Q1).
queue:in("item2", Q1).

Now Q1 has only "item2". I still don't understand, how can I make a FIFO
buffer if I can't append items to the queue to which I can refer with
the same variable?

Damir




More information about the erlang-questions mailing list