On Fri, Jan 31, 2020 at 5:14 PM 'Manfred Bergmann' via elixir-lang-core < elixir-lang-core@googlegroups.com> wrote:
> Hi. > > I believe in math it’s completely legit to write: 1 + (-1) = 0 > Yes. Even more, technically the canonical algebraic structure for integers (a ring called Z) has addition and multiplication only. There is a concept of "the opposite of an integer": the opposite of N is a number M such that N + M = 0. By convention, you write "-N" as an alias for said (unique) M, and X - Y is a shortcut for X + (-Y). There is no subtraction operation. So, your notation is actually quite literally exact. -- 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/CAM%3DYcdgy7ZvC%3DgbuvnKVphrPE_iwtkR1p6SiCtOQg3p81z3LPg%40mail.gmail.com.