[Issue 3481] PATCH: opPow(), x ^^ y as a power operator

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Nov 6 13:51:46 PST 2009


http://d.puremagic.com/issues/show_bug.cgi?id=3481



--- Comment #4 from Leandro Lucarella <llucax at gmail.com> 2009-11-06 13:51:45 PST ---
I'm sorry to bring the bike shed discussion here, but I would like to consider
** exponentiation. The reason is that writing ^^ for people with keyboards with
"dead keys" (to write accents for example) is very hard, because you have to
write "^" like this: shift+6 space (3 keystrokes), or even worse (unless you
use Emacs ;): shift+alt_gr+6.

I'm not sure if ** is even possible (because of pointers), but in case it is, I
will like you to give it a thought.

This is, of course, a minor detail. I like the idea of introducing an
exponentiation operator, I just don't feel very well about depending on
importing any module, but if that can be changed/fixed in the future, it's fine
with me.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list