On Wed, 16 Feb 2005 23:02:25 -0600, Patrick R. Michaud
<[EMAIL PROTECTED]> wrote:
> > The latest S12 has it as bool::true and bool::false.
>
> S03 still indicates that boolean operators return "a standard
> boolean value (either 1 or 0)". Are we continuing with 1 and 0
> as the standard boolean v
On Wed, Feb 16, 2005 at 11:02:25PM -0600, Patrick R. Michaud wrote:
: On Tue, Feb 15, 2005 at 11:03:09PM -0800, 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" meth
On Tue, Feb 15, 2005 at 11:03:09PM -0800, 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 o
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
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
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)
: (#f, #t)
:
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)
(#f, #t)
What should I do, though? Inventing two primitives, "true" and
"false"? O