Today Elixir allows a very flexible set of Unicode characters to form part 
of an identifier (there is a Unicode standard for this).  There is a 
limited set of reserved operators permitted as well.

This proposal seeks to assess if there is any support to some or all of the 
Unicode Mathematical Symbols block to the list of allowed user defined 
operators.

* The increased focus on numerical computation in Elixir could benefit from 
an expressive set of operators

* Certain operators like the "set" (element, union, intersection, ....) 
operators reflect the list/set operations in common use in Elixir across 
enumerables, lists, map sets and maps.

* Certain mathematical expressions are more readily expressed with infix 
notation (especially when the implementation represents a formula from 
published works). I am finding this to be true in my own work in Image 
(image processing) and Tempo (time expressions).  I suspect this would be 
true for numerical computations in Nx but have not validated this.

* These operators do no clash with any existing operators so would not 
introduce backward compatibility issues and would require minimal changes 
to the Elixir lexer (an assumption by me)

   1. Mathematical Symbols 
   
<https://en.wikipedia.org/wiki/Mathematical_operators_and_symbols_in_Unicode#Mathematical_Operators_block>
   

-- 
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/2d5e34dd-314b-4a5e-b490-f1b8d2c4f096n%40googlegroups.com.

Reply via email to