Re: Boolean comparison (was Boolean literals)

2005-02-16 Thread Juerd
Markus Laire skribis 2005-02-16 13:32 (+0200): > We already have +^ ~^ ?^ +| ~| ?| etc.. We have unary lc, int, etc... > Why not allow data-type prefix for the comparison operators also, so > we'd get, to mention a few, ~== (same as 'eq') ~< (same as 'lt') ~<= > (same as 'le') - and of course b

Re: Boolean comparison (was Boolean literals)

2005-02-16 Thread Markus Laire
Larry Wall wrote: On Wed, Feb 16, 2005 at 02:29:36PM +0800, Autrijus Tang wrote: : Just a quick question. The prettyprinter of Pugs (the thing that : handles the ".perl" method) currently prints out boolean true and : false as #t and #f, which is obviously not correct. : : pugs> (1 > 2, 2 > 1