Hi,

How about supporting n! as a shortcut for factorial(n)? This syntax is
very convenient and makes a huge difference for combinatorial
expressions with many factorials. M&M (Maple & Mathematica) allow this
notation, as do many scientific calculators.

Although Python doesn't have any other postfix operators, I don't
think there's any ambiguity as ! is unused in Python except for the !=
operator. The worst I can come up with is x!=y, but given that =
denotes assignment and not equality, this still only has one possible
meaning.

Fredrik

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to