in-ram lists

Damir Horvat damir@REDACTED
Fri Mar 24 11:01:16 CET 2006


I've just started with erlang and I need some help with this scenario.

I'd like to have a list to which I can append (push) and from which I
can shift elements. I'd like to make sort of a bucket (FIFO pipe).

This is simple in languages where I come from (perl, python, C, ...).
But how can I do this in erlang? I've read one cannot change the
value of a variable. How can I implement this FIFO pipe in erlang?


More information about the erlang-questions mailing list