Y
Hacker News
new
|
ask
|
show
|
jobs
by
princemaple
1656 days ago
queue in erlang is a tuple with 2 lists. it reverses the items in one list and put them in the other, if the second was empty, when you try to access the head of the queue. new items still goes into the first list.