Hi Julian.
It think it is a good addition.
It is also analog to String.contains?/2
On Fri, 15 Jul 2022 04:58:59 -0700 (PDT)
Julian Somoza wrote:
> Hi everyone, I was working on a suggestion to add a new function on
> the List module in order to find out if a given sublist is inside
> another li
Hi everyone, I was working on a suggestion to add a new function on the
List module in order to find out if a given sublist is inside another list.
We currently have *List.starts_with?/2* but this only match the beginning:
iex(1)> List.starts_with?([1, 2, 3], [1, 2])
true
Besides, we have *MapS