Just thinking out loud...

On Sunday, April 3, 2016 at 11:49:33 PM UTC+8, Scott Jones wrote:
>
> What do you think about adding \\ as an integer division operator to Julia?
>

What about just writing some package to allow indexing arrays with 
rationals if this is so important to some people? If the denominator is not 
1, it errors or something.

My experience so far with Julia is that if there is a feature you'd like to 
have that is not in Base, it is easy to add that feature in a package and 
see little loss in performance. It should be easy to write a package that 
introduces arrays with index starting at 0 and it should be easy to write a 
package that indexes arrays with rationals so you can just write things 
like a[10//5].

Reply via email to