Ulf Wiger (AL/EAB)
Fri Mar 24 11:07:07 CET 2006
Look at the 'queue' module in stdlib.
> -----Original Message-----
> From: owner-erlang-questions@REDACTED
> [mailto:owner-erlang-questions@REDACTED] On Behalf Of Damir Horvat
> Sent: den 24 mars 2006 11:01
> To: erlang-questions@REDACTED
> Subject: in-ram lists
> 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