Mon Aug 21 14:11:57 CEST 2017
On 21 August 2017 at 08:38, Константин Поветкин <> wrote:
> In case of ‘Single’ and ‘First’ you can use erlang:hd() or [FirstOrSingle |
I was referring to Single and First with predicates, which aren't
quite the same (though can be built with) hd or [H | _].
My point is that I don't see the need for lists:mapfind (or whatever).
Is it a performance thing?
More information about the erlang-questions