Interesting. If nothing else, it would be a nice way to mark our internal
functions, including the loops. It also should not be difficult to have
(g)ufunc signatures exported in that way, combining `signature` and `types`.

In more detail, I see the grammar clearly allows fixed dimensions in a way
that easily translates, but it isn't immediately obvious to me how one
would express broadcasting or possibly missing ones, so perhaps there is
room for sharing how to indicate that (although it is at a higher level;
the function signature is fine).

-- Marten

For others, direct link to datashape grammar:
http://datashape.readthedocs.io/en/latest/grammar.html
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@python.org
https://mail.python.org/mailman/listinfo/numpy-discussion

Reply via email to