[perl #130969] [LTA] more inconsistent coercions for Bool

2017-09-19 Thread Brian S. Julin via RT
On Fri, 10 Mar 2017 00:31:58 -0800, sidhe...@gmail.com wrote: > On Thu, Mar 9, 2017 at 9:17 PM, Brandon Allbery > wrote: > > > On Thu, Mar 9, 2017 at 2:55 PM, Zefram > > wrote: > > > >> The same goes for coercions from other enum types. > > > >

Re: [perl #130969] [LTA] more inconsistent coercions for Bool

2017-03-10 Thread The Sidhekin
On Thu, Mar 9, 2017 at 9:17 PM, Brandon Allbery wrote: > On Thu, Mar 9, 2017 at 2:55 PM, Zefram > wrote: > >> The same goes for coercions from other enum types. > > > This should be your hint. Enums *are* numeric, specifically Int. > I don't

Re: [perl #130969] [LTA] more inconsistent coercions for Bool

2017-03-09 Thread Brandon Allbery
The discussion I'm thinking of starts around here: http://colabti.org/irclogger/irclogger_log/perl6?date=2017-03-04#l1490 On Thu, Mar 9, 2017 at 4:04 PM, Zefram wrote: > Brandon Allbery via RT wrote: > >In any case I am specifically thinking of a discussion recently in IRC >

Re: [perl #130969] [LTA] more inconsistent coercions for Bool

2017-03-09 Thread Zefram
Brandon Allbery via RT wrote: >In any case I am specifically thinking of a discussion recently in IRC >which went over why at least some of this is actually self-consistent *for >perl 6*. I would be interested in seeing that discussion. >(That said, there may actually be some lingering

Re: [perl #130969] [LTA] more inconsistent coercions for Bool

2017-03-09 Thread Brandon Allbery
Self-consistency is itself a fuzzy concept. In any case I am specifically thinking of a discussion recently in IRC which went over why at least some of this is actually self-consistent *for perl 6*. I may be able to dig it up again, or hopefully someone else already has it on tap. (That said,

Re: [perl #130969] [LTA] more inconsistent coercions for Bool

2017-03-09 Thread Zefram
Brandon Allbery via RT wrote: >This should be your hint. Enums *are* numeric, specifically Int. I'm aware of that, and that's why I call this an LTA rather than a bug, and why I didn't say conclusively which coercion was wrong. Indeed, on the basis of the enum/Int subclassing, I proposed in [perl

Re: [perl #130969] [LTA] more inconsistent coercions for Bool

2017-03-09 Thread Brandon Allbery
On Thu, Mar 9, 2017 at 2:55 PM, Zefram wrote: > The same goes for coercions from other enum types. This should be your hint. Enums *are* numeric, specifically Int. I don't know what language you are trying to force Perl 6 to be, but you might want to consider the