On Fri, Feb 11, 2005 at 07:45:33PM +0100, Thomas Sandlaï wrote: > Autrijus Tang wrote: > >as well as the non-short-circuitting "!!" logical operator, and the > >lower-precedenced "nor". > > I'm not sure if '!' fits the heavy weight perl6 grammar. But why is > 'nor' not short-circuitting? It only continues when the left side is > true --- like '||' and '//'. At least this is what the logic table > tells me:
Right. I mean short-circuitting as in "returning a or b instead of returning a Boolean". On the other hand, maybe you can live with it returning either a, or b, or True, or False. I don't know... :) Thanks, /Autrijus/
pgpOu3JIRJ6XD.pgp
Description: PGP signature