[erlang-questions] Rotating A List

Chandru chandrashekhar.mullaparthi@REDACTED
Wed Dec 16 02:24:07 CET 2009


2009/12/16 Jayson Vantuyl <kagato@REDACTED>

> I recently did some attended SF Erlounge, which was quite a nice event.  In
> addition to watching an excellent presentation on Erlang in the GitHub
> rebuild, I also fielded a few questions from some of the newer people.  One
> of them had a pretty simple request:
>
> * manage a list
> * pull items off the front, but rotate them to the back
>

Did you consider using the queue module in the gen_server? You seem to have
reinvented the core of queue!

Chandru


More information about the erlang-questions mailing list