removing last element from the list

Vlad Dumitrescu <>
Wed May 25 20:02:04 CEST 2005


----- Original Message ----- 
From: "Gaspar Chilingarov" <>
> I need to implement something like FIFO, new elements inserted in list 
> push old elements out.

Try the queue module, it does what you want and it's interesting to look at 
the implementation.

/Vlad



More information about the erlang-questions mailing list