Robert Bradshaw wrote:

> IIRC part of the motivation for int[:,:] syntax rather than  
> special_name[int, ndim=2] was that the former is actually easier for  
> humans to parse. Personally, it seems a natural extension of the int 
> [50] syntax.

I would be happier if it followed the C pattern more
closely by appearing on the right instead of the left
in a declaration, i.e.

   cdef int my_array[:,:]

As long as colons or ellipses are always used in this
form of declaration (am I right in thinking that's the
case?) then this is distinguishable from a plain array
declaration.

-- 
Greg
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to