>> possible, like Nx having its own compilation pipeline to bypass limitations
>> of BEAM.
>>
>>
>>
>>
>>
>> Original Message
>> On 23 May 2023, 03:05, Julian Somoza < julian...@gmail.com> wrote:
>>
>>
>
Just as is there a function to get the *min,* *max, sum, *etc values from
an Enum, would be useful to have also an average function.
Enum.avg/1 or Enum.average/1
If it's ok for the community, I will be happy to implement it.
Example:
iex> Enum.avg(0..10)
5
--
You received this message
I was left wanting to comment on the following, perhaps for fear of
responding to Valim himself and sounding daring.
>From my humble opinion and user experience of several years programming
(other languages), I feel more comfortable with an *Integer* module for
things like* Integer.to_string*
to native
>> code with vectorization and whatnot.
>>
>> If erlang would add something unholy to its stdlib, you'll be free to
>> ignore it, and keep using your righteous implementation :)
>>
>> --- Original Message ---
>> On Thursday, February 23rd, 20
Hi, I would like to understand why or what would be the problem with having
our own Math module on Elixir. I know that some people think that has no
sense to duplicate modules that already exist in Erlang but... Where is the
"sovereignty"?
If I would like to add a new math function, why do I
16:50, Zach Daniel ()
escribió:
> Ah, sorry I misunderstood. The names i proposed are not good :)
>
>
> On Fri, Jul 15 2022 at 11:07 AM, Julian Somoza
> wrote:
>
>> Hi Zach, absolutely no.
>>
>> List.includes_list?([1, 2, 3], [1, 1, 1])
>> false
Moore_string_search_algorithm>
>> shouldn't add too much complexity and can provide a meaningful improvement.
>>
>> On Fri, Jul 15, 2022 at 3:32 PM Julian Somoza
>> wrote:
>>
>>> Thanks for your replies,
>>>
>>> yes, it could be an String.c
tt, true) or
> contains?(t, [h | tt], strict?)
> end
> ```
>
> On Fri, Jul 15, 2022 at 2:07 PM 'eksperimental' via elixir-lang-core <
> elixir-lang-core@googlegroups.com> wrote:
>
>> Hi Julian.
>> It think it is a good addition.
>> It is also analog
middle or in the end.
Looking forward for your comments,
BR,
Julian Somoza.
--
You received this message because you are subscribed to the Google Groups
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to elixir-lang-core+unsubs