[PATCH RFC] templater: provide ring operations on integers

timeless timeless at gmail.com
Fri Oct 21 09:21:55 EDT 2016


Simon Farnsworth wrote:
> @@ -33,6 +33,9 @@
> +    "+": (10, None, None, ("+", 10), None),
> +    "-": (10, None, ("negate", 10), ("-", 10), None),
> +    "*": (12, None, None, ("*", 12), None),

Is it reasonable for me to ask for some user facing documentation of this?

Possibly just an example. Although, we might want to wait until we're
sure that this is the way we want to go before publishing it. I'd
definitely like to see what the docs would look like. -- And yes, in
theory math is "simple", but as soon as you switch from {Integers} to
{Rings} you are going to confuse someone. If I do 20*20 on a 137
character wide screen, what happens?


More information about the Mercurial-devel mailing list