[erlang-questions] lists:mapfind?

Håkan Mattsson <>
Fri Aug 18 13:40:03 CEST 2017


Are really the lists module the natural home for these functions? Would not
the maps module be a better choice?

/Håkan

On Fri, Aug 18, 2017 at 11:23 AM, Lukas Larsson <> wrote:

> I've been thinking of adding that and also lists:mapsort, and while at it
> we should probably also add lists:mapdelete, lists:mapmap and the others.
>
> The reason I haven't spent much effort in adding them is because I'm not
> sure the lists module is the correct place to put them and also I'm unsure
> about their general usefulness.
>
> Lukas
>
> On Fri, Aug 18, 2017 at 11:08 AM, Max Lapshin <>
> wrote:
>
>> We have lists:keyfind, but are there any plans for lists:mapfind?
>>
>>
>>
>> _______________________________________________
>> erlang-questions mailing list
>> 
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
>>
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170818/7e8acf60/attachment.html>


More information about the erlang-questions mailing list