Our goal, at the moment, is to introduce <*>, </>, <+>, <-> which could be
used by projects which need to provide alternative mathematical operations.
In this case, <|> would look out of place, because it would resemble one of
such operators, but it is not. In your case, perhaps the best path is
replace <|> by <~> (which is why we didn't deprecate both).

On Fri, Sep 30, 2022 at 12:00 PM w...@resilia.nl <w...@resilia.nl> wrote:

> Dear core team,
>
> Part of the Elixir v1.14 changes is the hard deprecation
>
> "[Kernel] Deprecate the operator <|> to avoid ambiguity with upcoming
> extended numerical operators"
>
> Currently, the rational number library 'Ratio
> <https://hex.pm/packages/ratio>' makes pervasive use of this operator to
> represent its rational numbers.
>
> What would be the proper way to move forward?
> The new changes are not here yet. It would be nice to modify the library
> to ensure both forwards- and backwards-compatibility, so it is ready once
> the changes actually land and people do not need to alter the code using it
> at that time.
>
> How will `<|>` be used in the upcoming extended numerical operations?
> Will rational numbers become part of core Elixir itself?
>
> ~Marten / Qqwy
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elixir-lang-core/9f6650b6-03d7-4f15-8be9-4302bc94bef7n%40googlegroups.com
> <https://groups.google.com/d/msgid/elixir-lang-core/9f6650b6-03d7-4f15-8be9-4302bc94bef7n%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 elixir-lang-core+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4KtxTNReph3zLdzkbw5pO7iBN-F6FWCB7Vz2sk5Q2gJig%40mail.gmail.com.

Reply via email to