[erlang-questions] Market data, trading strategies and dropping the last element of a list
Tue Dec 19 14:40:38 CET 2006
> > Is the queue module something like what you need?
> I don't think a queue allows random access to its elements, does it?
Oh, yes, I read too fast and missed the part about random access, sorry.
I think the data structure presented here
fulfill the requirements, but I don't know if it's been implemented in
> How would I access the last element?
The last element is queue:last(Q). ;-)
More information about the erlang-questions