[erlang-patches] Add lists:init/1 - got tired of implementing it

Jachym Holecek <>
Tue Apr 30 19:08:45 CEST 2013

# Siri Hansen 2013-04-30:
> We haven't yet made any decision regarding this patch, but we have had some
> discussions in the team and we are not totally convinced about the general
> need for this function. Thus we would appreciate some input from the list.
> So - disregarding the name and the implementation for a second - is this
> functionality a good addition to the lists module? Is it often needed?

Personally: no, not that I recall. My first thought upon seeing it (leaving
naming aside) was that somebody was using a plain list where they really
needed a queue(3) (or some more appropriate data structure, don't know
what the actual use case is).

	-- Jachym

More information about the erlang-patches mailing list