Why would you want to disable it? Can you please expand on the _needs_ for
the feature? Thank you.

On Tue, Feb 22, 2022 at 9:31 AM Federico Bianchi <[email protected]> wrote:

> currently we are using this patch:
>
>   defp state(comments, opts) do
>     underscore_ints = Keyword.get(opts, :underscore_ints, true)
>
>   defp integer_to_algebra(text, state) do
>     case text do
>       <<?0, ?x, rest::binary>> ->
>         "0x" <> String.upcase(rest)
>
>       <<?0, base, _::binary>> = digits when base in [?b, ?o] ->
>         digits
>
>       <<??, _::binary>> = char ->
>         char
>
>       decimal ->
>         if state[:underscore_ints] do
>           insert_underscores(decimal)
>         else
>           decimal
>         end
>     end
>   end
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elixir-lang-core/ea1f6f33-0709-4001-abe2-f3b8402622d1n%40googlegroups.com
> <https://groups.google.com/d/msgid/elixir-lang-core/ea1f6f33-0709-4001-abe2-f3b8402622d1n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4JmXHnT-q-7qXQ2xpFdJOKvd2johP4qUpN25QCb4WQN3A%40mail.gmail.com.

Reply via email to