Re: [perl #61286] [PATCH][PROPOSAL] box complements

2008-12-19 Thread Patrick R. Michaud
On Thu, Dec 11, 2008 at 06:19:14AM -0800, Will Coleda via RT wrote: On Thu Dec 11 01:51:23 2008, fperrad wrote: The new opcode 'box' is limited by its 3 signatures that target Float, Integer String. I propose the 3 following new opcodes : - true - false These can be approximated

[perl #61286] [PATCH][PROPOSAL] box complements

2008-12-11 Thread via RT
# New Ticket Created by François PERRAD # Please include the string: [perl #61286] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=61286 The new opcode 'box' is limited by its 3 signatures that target Float, Integer

Re: [perl #61286] [PATCH][PROPOSAL] box complements

2008-12-11 Thread François Perrad
2008/12/11 Will Coleda via RT [EMAIL PROTECTED]: On Thu Dec 11 01:51:23 2008, fperrad wrote: The new opcode 'box' is limited by its 3 signatures that target Float, Integer String. I propose the 3 following new opcodes : - true - false These can be approximated with: $P0 = box 1 $P0

Re: [perl #61286] [PATCH][PROPOSAL] box complements

2008-12-11 Thread Will Coleda
On Thu, Dec 11, 2008 at 11:10 AM, François Perrad [EMAIL PROTECTED] wrote: 2008/12/11 Will Coleda via RT [EMAIL PROTECTED]: On Thu Dec 11 01:51:23 2008, fperrad wrote: The new opcode 'box' is limited by its 3 signatures that target Float, Integer String. I propose the 3 following new opcodes

Re: [perl #61286] [PATCH][PROPOSAL] box complements

2008-12-11 Thread chromatic
On Thursday 11 December 2008 08:20:06 Will Coleda wrote: As I understand it, box is designed to deal /only/ with promoting the 3 basic register types (SIN) to PMCs of the appropriate HLL type (just like autoboxing in PCC), not to provide a way to promote literal values for arbitrary core