[perl #124860] [NYI] [UNI] [JVM] Roast rakudo skip/todo test:./S05-mass/properties-general.t line:163 reason: No 'Lr' property defined

2019-07-09 Thread Christian Bartolomaeus via RT
These tests have been adjusted with https://github.com/perl6/roast/commit/551a7ffd7b I'm closing this ticket as 'resolved'.

[perl #130483] [UNI] Regex Unicode properties check string values before checking bool properties

2018-03-16 Thread Jan-Olof Hendig via RT
On Wed, 04 Jan 2017 21:27:05 -0800, samant...@posteo.net wrote: > Also see this bisectable results: > https://gist.github.com/Whateverable/50acf5fe072680085746459f144a106f > > You can see how with the new commit, 'space' and 'White_Space' now > resolve to the same property. Before 'space'

[perl #130483] [UNI] Regex Unicode properties check values before checking property names

2017-01-02 Thread via RT
# New Ticket Created by Samantha McVey # Please include the string: [perl #130483] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=130483 > See test in properties-general.t The test used to pass before, but only beca

[perl #124872] Roast rakudo skip/todo test:./S05-mass/properties-general.t line:816 reason: Unicode spec change in v6.1

2015-10-31 Thread Will Coleda via RT
These todo tests are fudged for the JVM only and are now passing. Removed the fudge, closing ticket. -- Will "Coke" Coleda

[perl #124855] Roast rakudo skip/todo test:./S05-mass/properties-general.t line:29 reason: 'Invalid codepoint \x[FFFE]'

2015-05-09 Thread Christian Bartolomaeus via RT
This tests are actually passing. I unfudged the tests with commit https://github.com/perl6/roast/commit/a5397a6a09

[perl #124875] Roast rakudo skip/todo test:./S05-mass/properties-derived.t line:167 reason: isOther* NYI

2015-05-09 Thread Christian Bartolomaeus via RT
These tests are actually passing. I unfudged the tests with commit https://github.com/perl6/roast/commit/c9e7946599

[perl #124881] Roast rakudo skip/todo test:./S05-mass/properties-derived.t line:389 reason: 'isAssigned NYI'

2015-05-09 Thread Christian Bartolomaeus via RT
These tests are actually passing. I unfudged the tests with commit https://github.com/perl6/roast/commit/c9e7946599

[perl #124877] Roast rakudo skip/todo test:./S05-mass/properties-derived.t line:286 reason: 'icu'

2015-05-09 Thread Christian Bartolomaeus via RT
These tests are actually passing. I unfudged the tests with commit https://github.com/perl6/roast/commit/c9e7946599

[perl6/specs] 67e83a: [S02] remove section on Properties

2012-04-09 Thread GitHub
paths: M S02-bits.pod Log Message: --- [S02] remove section on Properties it seems that properties refer to either traits or run-time mixins with infix but. Both are described much more accurately and less out-of-date in S12 and S14

S05 Regex - Unicode properties

2009-11-23 Thread Helmut Wollmersdorfer
IMHO some details of Unicode property support seem unspecified: 1) Assumption: *ALL* Unicode properties and all of their aliases should be supported. E.g. this will also include the derived properties 'Grapheme_Base' and 'Grapheme_Extent' (missing in Perl 5 - obviously a bug in 'unicore

[perl #46667] [TODO] [C] Do we need properties in the default object system?

2008-09-30 Thread NotFound via RT
This check can be removed from default.pmc. Property values should not be returned by get_attr_str. Done in r31509

[perl #46667] [TODO] [C] Do we need properties in the default object system?

2008-01-12 Thread Allison Randal via RT
On Mon Oct 22 09:34:51 2007, ptc wrote: In src/pmc/default.pmc:get_attr_str() there is the todo item: /* let's look for props first * XXX do we need that in the default object system? We require an answer to this question, and quite possibly further development depending upon the

[perl #46667] [TODO] [C] Do we need properties in the default object system?

2007-10-22 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46667] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=46667 In src/pmc/default.pmc:get_attr_str() there is the todo item: /* let's look for

[perl #41505] [CAGE] Cleanup and reorganise documentation related to svn properties

2007-03-18 Thread Allison Randal via RT
Made a few more text edits in r17591. Paul Cochrane's changes approved, ticket resolved.

[perl #41505] [CAGE] Cleanup and reorganise documentation related to svn properties

2007-03-17 Thread Will Coleda via RT
:44:16 2007, ptc wrote: Documentation related to svn properties on files within Parrot needs to be cleaned up and reorganised. Namely put into the one place, and expanded upon. The current candidate for such a location is the coding standards pdd. Initial places to glean information

[perl #41505] [TODO] Cleanup and reorganise documentation related to svn properties

2007-02-14 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #41505] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=41505 Documentation related to svn properties on files within Parrot needs to be cleaned

[perl #41264] [PDD] should properties get serialized?

2007-01-13 Thread via RT
# New Ticket Created by Allison Randal # Please include the string: [perl #41264] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=41264 Extracted from ticket # 40443. ...properties don't get serialized so if you

Re: [pmc_object_design_meeting_notes] Properties

2006-11-16 Thread Allison Randal
chromatic wrote: The only time I've ever used properties in PIR was to mark an object initializer, but we have better ways to handle that now too. I don't object to having them, but I do think we ought to have at least one good use case to help decide what they need to do and how to do them

[pmc_object_design_meeting_notes] Properties

2006-11-15 Thread Leopold Toetsch
Hi @all, [ shortened: ] Recommendation: Deprecate property support in PMCs. Allison: Would it help if we call them static attributes and dynamic attributes? No. Attributes and properties are almost orthogonal concepts. Properties are per PMC (or object, as that's a PMC too

Re: [pmc_object_design_meeting_notes] Properties

2006-11-15 Thread Allison Randal
Leopold Toetsch wrote: Properties are never inherited, they belong to just that one PMC. Well, yeah. That's what they're designed to do. But agreed that for the sake of clarity attributes and properties should keep two separate names. Therefore a much more efficient implementation

Re: [pmc_object_design_meeting_notes] Properties

2006-11-15 Thread chromatic
for having the data member available in the PMC struct. Otherwise, you could copy everything to a new struct with a new PMC member, but that's also painful. The only time I've ever used properties in PIR was to mark an object initializer, but we have better ways to handle that now too. I don't

Re: [perl #31181] [TODO] Strings - character class properties testing

2005-11-14 Thread Patrick R. Michaud
On Fri, Nov 11, 2005 at 11:23:34AM -0800, Jerry Gay via RT wrote: has this been addressed, even partially? it seems that it has, but this ticket, nor the related email thread (http://www.nntp.perl.org/group/perl.perl6.internals/29394) has been updated since may 2005. The ticket can be closed;

[perl #31181] [TODO] Strings - character class properties testing

2005-11-11 Thread Jerry Gay via RT
has this been addressed, even partially? it seems that it has, but this ticket, nor the related email thread (http://www.nntp.perl.org/group/perl.perl6.internals/29394) has been updated since may 2005. ~jerry

Re: trait and properties thru getter/setters

2005-05-14 Thread mark . a . biggar
I don't understand why you think you need the eval here? -- Mark Biggar [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] There is syntax to define trait and properties but is there an API? my $b = eval '$a but true'; # setting a true property # API to do it without an eval

trait and properties thru getter/setters

2005-05-13 Thread Stéphane Payrard
There is syntax to define trait and properties but is there an API? my $b = eval '$a but true'; # setting a true property # API to do it without an eval? A trait setter probably does not make sense but for the implementer because it should not be set at run time. Incidentally

Re: trait and properties thru getter/setters

2005-05-13 Thread Stéphane Payrard
On Fri, May 13, 2005 at 06:37:50PM +, [EMAIL PROTECTED] wrote: There is syntax to define trait and properties but is there an API? my $b = eval '$a but true'; # setting a true property # API to do it without an eval? I don't understand why you think you need the eval here

Re: trait and properties thru getter/setters

2005-05-13 Thread Brent 'Dax' Royal-Gordon
On 5/13/05, Stéphane Payrard [EMAIL PROTECTED] wrote: There is syntax to define trait and properties but is there an API? my $b = eval '$a but true'; # setting a true property # API to do it without an eval? My question is more generic than my example. I may not know

Re: trait and properties thru getter/setters

2005-05-13 Thread Larry Wall
On Fri, May 13, 2005 at 12:26:22PM -0700, Brent 'Dax' Royal-Gordon wrote: : Well, the value's pretty easy--just pass in a variable: : : my $b = $a is foo($bar); As we currently have it, that is not legal syntax. is may only be applied to declarations. You must use does or but to mixin

Re: trait and properties thru getter/setters

2005-05-13 Thread Stéphane Payrard
On Fri, May 13, 2005 at 12:31:09PM -0700, Larry Wall wrote: On Fri, May 13, 2005 at 12:26:22PM -0700, Brent 'Dax' Royal-Gordon wrote: : Well, the value's pretty easy--just pass in a variable: : : my $b = $a is foo($bar); As we currently have it, that is not legal syntax. is may only

Re: trait and properties thru getter/setters

2005-05-13 Thread Brent 'Dax' Royal-Gordon
On 5/13/05, Larry Wall [EMAIL PROTECTED] wrote: On Fri, May 13, 2005 at 12:26:22PM -0700, Brent 'Dax' Royal-Gordon wrote: : my $b = $a is foo($bar); As we currently have it, that is not legal syntax. is may only be applied to declarations. Sorry, think-o. I meant 'but' in my examples

Re: trait and properties thru getter/setters

2005-05-13 Thread Larry Wall
On Fri, May 13, 2005 at 12:56:19PM -0700, Brent 'Dax' Royal-Gordon wrote: : Should I construe the fact that you didn't comment on the ::() to mean : that the symref syntax works here? Offhand I don't see any reason for it not to. Larry

Re: trait and properties thru getter/setters

2005-05-13 Thread Larry Wall
On Fri, May 13, 2005 at 09:40:51PM +0200, Stéphane Payrard wrote: : And what about the getter part of my question? :) A12 discusses the relationship of traits and properties in great detail. Any trait's metadata can be stored as properties at compile time, and such metadata can be retrieved

Useful task -- Character properties

2005-05-04 Thread Patrick R. Michaud
a relatively good-sized project that needs figuring out -- identifying character properties such as isalpha, islower, isprint, etc. Here I'll briefly sketch how I'd like it to work, and maybe someone enterprising can take things from there for us. Currently Parrot offers quite a few ops

Re: Useful task -- Character properties

2005-05-04 Thread Dan Sugalski
to take on? Actually, overnight I realized there's a relatively good-sized project that needs figuring out -- identifying character properties such as isalpha, islower, isprint, etc. Here I'll briefly sketch how I'd like it to work, and maybe someone enterprising can take things from I'd planned

Re: Useful task -- Character properties

2005-05-04 Thread Patrick R. Michaud
On Wed, May 04, 2005 at 12:30:48PM -0400, Dan Sugalski wrote: At 10:21 AM -0500 5/4/05, Patrick R. Michaud wrote: Actually, overnight I realized there's a relatively good-sized project that needs figuring out -- identifying character properties such as isalpha, islower, isprint, etc. Here

Re: Useful task -- Character properties

2005-05-04 Thread Leopold Toetsch
Patrick R. Michaud wrote: [ see below for some more ] Actually, overnight I realized there's a relatively good-sized project that needs figuring out -- identifying character properties such as isalpha, islower, isprint, etc. Here I'll briefly sketch how I'd like it to work, and maybe someone

[perl #31181] [TODO] Strings - character class properties testing

2004-08-16 Thread via RT
# New Ticket Created by Will Coleda # Please include the string: [perl #31181] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=31181 Implement character class properties testing (for regular expressions

[perl #31134] [TODO] Unicode properties tables

2004-08-15 Thread via RT
# New Ticket Created by Will Coleda # Please include the string: [perl #31134] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org:80/rt3/Ticket/Display.html?id=31134 Find a decent way of including Unicode properties tables

Re: Distributing traits / Rule-matching group properties

2004-03-02 Thread Damian Conway
Larry wrote: : Indeed, if Larry were to give the word, I'd be delighted to add support for : it to the Perl6::Rules module. Execute! (I hope that's the right word...) I believe, Captain, the correct word would be: Engage! Data^H^Hmian

Re: Distributing traits / Rule-matching group properties

2004-03-01 Thread Damian Conway
Larry noted: There's a lot to be said for being able to write things like: [ ident ascii+ ] Now I'm supposing that binds tighter than | as usual, so the brackets wouldn't always be necessary: ident french+ | ident swahili+ FWIW, I'm strongly in favour of adding to rules.

Re: Distributing traits / Rule-matching group properties

2004-03-01 Thread Larry Wall
On Tue, Mar 02, 2004 at 04:58:38PM +1100, Damian Conway wrote: : FWIW, I'm strongly in favour of adding to rules. : : Indeed, if Larry were to give the word, I'd be delighted to add support for : it to the Perl6::Rules module. Execute! (I hope that's the right word...) Larry

Re: Distributing traits / Rule-matching group properties

2004-02-28 Thread Larry Wall
: strings+ or objectrefs. Okay, I supposin'. But I'd rather not call them traits, since that already means two other things right now. Properties is more like... : You want to do something like search for all occurrences of the word : 'From:' in a heading style or Find all letters 'l' in french text

Re: Distributing traits / Rule-matching group properties

2004-02-28 Thread Larry Wall
+ | swahili+ ] or really, just ident french|swahili+ That last is likely to be the fastest, since a decent implementation of character properties should cache swatches of the bitmap like Perl 5 does, or at least memoize something somewhere to keep from having to recalculate what's french

Re: pdd15_objects.pod, attributes, properties, and life

2004-02-27 Thread Paolo Molaro
. The .NET reversal's just the big nasty one. In the CLR properties are defined by: a name an optional set method an optional get method One of the two methods must exist (enabling readonly/writeonly properties). So, the only thing CLR properties have in common with Parrot

Re: pdd15_objects.pod, attributes, properties, and life

2004-02-27 Thread Dan Sugalski
At 4:41 PM +0100 2/27/04, Paolo Molaro wrote: On 02/27/04 Dan Sugalski wrote: What .NET calls an attribute parrot calls a property What .NET calls a property parrot calls an attribute [...] Oh, yeah. No matter which way we go we'll be confusing someone, since there are languages that call

Distributing traits / Rule-matching group properties

2004-02-27 Thread Austin Hastings
Another hypothetical: Suppose you have a browser (which understands language traits) or a word processor (which stores style and/or font information) that is storing some not-text-only string-like things via scalar strings+ or objectrefs. You want to do something like search for all

pdd15_objects.pod, attributes, properties, and life

2004-02-26 Thread Mitchell N Charity
docs/pdds/pdd15_objects.pod, =head2 Translation, includes (edited) What .NET calls an attribute parrot calls a property What .NET calls a property parrot calls an attribute Ouch. In these lines one hears the echos of future years of confusion, endlessly repeated explanations, failed

Properties for builtin types?

2004-01-09 Thread Michael Firestone
Is there a list of the properties for the builtin types? My searches through the archives leads me to believe there is no such beast. Is there any consensus on what some of the properties will be? I am not looking for a complete or authoritative list. I am just trying to finish off

Re: Properties -- distributive, predeclared, post-applied....??

2003-12-05 Thread Jonathan Scott Duff
On Thu, Dec 04, 2003 at 05:57:52PM -0700, Luke Palmer wrote: Hodges, Paul writes: I'd *like* to be able to predeclare a trait or property to be distributed across any values placed in this array, but only this array. For example, it would be nice if I could have the default aspects of false

Re: Properties -- distributive, predeclared, post-applied....??

2003-12-05 Thread Luke Palmer
, the universe could have shifted under my feet without my knowledge. No, it was just a braino on my part. I forgot that I've already seen parametric properties in a lot of places... :-/ I discovered after reading this email that I've been assuming that square-bracket parameterization happened

RE: Properties -- distributive, predeclared, post-applied....??

2003-12-04 Thread Hodges, Paul
How about use Baz; # assume object type my property foo; my @bar of Baz is false but foo; # maybe not what you meant? If you apply a trait like false to an array, I expect it to apply to the array instance object itself and not the content, so that push @bar, Baz.new(); if @bar{

Re: Properties -- distributive, predeclared, post-applied....??

2003-12-04 Thread Luke Palmer
Hodges, Paul writes: How about use Baz; # assume object type my property foo; my @bar of Baz is false but foo; # maybe not what you meant? Definitely not what you meant. Fortunately, the compiler will teach you a thing or two about it: Cfalse is not a trait. But indeed foo would

Re: Properties -- distributive, predeclared, post-applied....??

2003-12-04 Thread Paul Hodges
--- Luke Palmer [EMAIL PROTECTED] wrote: Hodges, Paul writes: How about use Baz; # assume object type my property foo; my @bar of Baz is false but foo; # maybe not what you meant? Definitely not what you meant. Fortunately, the compiler will teach you a thing or two about

Re: Properties -- distributive, predeclared, post-applied....??

2003-12-04 Thread Luke Palmer
Paul Hodges writes: Luke Palmer: Something likely more like: my role property_wrap[Property [EMAIL PROTECTED] { method STORE($newval) { SUPER::STORE($newval but [EMAIL PROTECTED]) } } @bar but= property_wrap[false, foo]; ...square brackets? ...roles can have

Re: OP [was: Re: Properties] [OT]

2003-12-03 Thread Simon Cozens
[EMAIL PROTECTED] (Paul Hodges) writes: I am not seeing unicode. Don't worry because, and I honestly don't mean this disparagingly - by the time Perl 6 is ready for prime-time, you will. Larry got this one right. -- Jesus ate my mouse or some similar banality. -- Megahal (trained on

Re: OP [was: Re: Properties] [OT]

2003-12-03 Thread Paul Hodges
--- Simon Cozens [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] (Paul Hodges) writes: I am not seeing unicode. Don't worry because, and I honestly don't mean this disparagingly - by the time Perl 6 is ready for prime-time, you will. Larry got this one right. lol -- I think you're right. And

OP [was: Re: Properties]

2003-12-02 Thread Michael Lazzaro
On Monday, December 1, 2003, at 01:05 PM, Hodges, Paul wrote: Didn't know is would do that. Good to know! And in my meager defense, I did reference MikeL's operator synopsis as of 3/25/03, which said ^[op] might be a synonym for or (Sorry, no fancy chars here. :) Hey, that was *March*! ;-)

Re: OP [was: Re: Properties]

2003-12-02 Thread Luke Palmer
Michael Lazzaro writes: On Monday, December 1, 2003, at 01:05 PM, Hodges, Paul wrote: Didn't know is would do that. Good to know! And in my meager defense, I did reference MikeL's operator synopsis as of 3/25/03, which said ^[op] might be a synonym for or (Sorry, no fancy chars here.

Re: OP [was: Re: Properties]

2003-12-02 Thread Luke Palmer
Luke Palmer writes: And as far as I know, and are exactly equivalent to and in all cases. By which I mean and , of course. :-/ (mutt is kind of a pain in this area) Luke

Re: OP [was: Re: Properties]

2003-12-02 Thread Michael Lazzaro
On Tuesday, December 2, 2003, at 12:37 PM, Luke Palmer wrote: Michael Lazzaro writes: There were also vaguely threatening proposals to have op and op do slightly different things. I assume that is also dead, and that op is (typically) a syntax error. Ack. No, slightly different things would be

Re: OP [was: Re: Properties]

2003-12-02 Thread Paul Hodges
--- Michael Lazzaro [EMAIL PROTECTED] wrote: On Monday, December 1, 2003, at 01:05 PM, Hodges, Paul wrote: Didn't know is would do that. Good to know! And in my meager defense, I did reference MikeL's operator synopsis as of 3/25/03, which said ^[op] might be a synonym for or (Sorry,

Re: OP [was: Re: Properties] [OT]

2003-12-02 Thread Paul Hodges
And as far as I know, and are exactly equivalent to æ?? and æ?? in all cases. lol I get the idea, but I foresee these unicode bits as becoming an occasional sharp spot in my metaphorical seat of consciousness. :) I am not seeing unicode. __ Do you

Re: Properties

2003-12-01 Thread Hodges, Paul
it with properties, interfaces, generics, aspects, and mixins. Among other things... Ok, having read this now (at least corsorily) and compared it with what I believe I understand about the way P6 is implementing traits/properties/roles, I begin to get it, and I am, as usual, suitably impressed

Re: Properties

2003-12-01 Thread Jonathan Scott Duff
On Mon, Dec 01, 2003 at 10:42:09AM -0500, Hodges, Paul wrote: So is this a good time to divert this topic into an elaboration of roles? I can wait for A12, but in the mean time ... :-) So if I want to implement a package of related roles that I commonly use in our In-House code, such as to

RE: Properties

2003-12-01 Thread Hodges, Paul
From: Jonathan Scott Duff [mailto:[EMAIL PROTECTED] On Mon, Dec 01, 2003 at 10:42:09AM -0500, Hodges, Paul wrote: module IHL::Roles; @ISA = 'Exporter'; @EXPORT_OK = qw/ fatal verbose allow setvals /; our role fatal is property { has $.fatal is rw; } our

Re: Properties

2003-12-01 Thread Luke Palmer
-- somehow -- deriving these properties from the Ctrue property. But I don't think that was the intent. I'm pretty sure that syntax is way wonky -- would is be a vectorizable operator? Does it even qualify as an operator at all? Cis is definitely an operator, much in the same way Cmy

Re: Properties

2003-11-30 Thread Gordon Henriksen
On Thursday, November 27, 2003, at 04:21 , Larry Wall wrote: (Oh, apparently C# 2.0 is thinking along the same lines with its partial classes, though I haven't looked at those in detail.) My reading was that C# 2's partial classes were merely a mechanism for placing long method definitions in

Re: Properties

2003-11-29 Thread Paul Hodges
--- Larry Wall [EMAIL PROTECTED] wrote: On Thu, Nov 27, 2003 at 08:08:05PM -0800, Paul Hodges wrote: : --- Larry Wall [EMAIL PROTECTED] wrote: : ... in fact, we may be limiting the creation of properties : to predeclared names, so that even : : return 0 but ture; : : can

Re: Properties

2003-11-29 Thread Paul Hodges
be an unPerlish restriction; people who know how to read a property would also expect to be able to set it in the same way. I'd think that would depend on the current status of strictures. Assuming no strictures at all, I'd rather expect Perl to autovivify properties much the way hash elements

Re: Properties

2003-11-29 Thread Larry Wall
no strictures at all, I'd rather expect Perl to autovivify : properties much the way hash elements are created when you assign a : value to a previously nonexistant key, but that's exactly the reason I : *NEVER* leave strictures *or* warnings off, even in short little : one-shot programs. If it's complex

Re: Properties

2003-11-29 Thread Larry Wall
On Sat, Nov 29, 2003 at 08:50:57AM -0800, Paul Hodges wrote: : hmm... lexical propertiesI've read the rest of the message, and I : see how this could be a problem. Just to be clear on it, what exactly : would it mean for a property or trait to be lexical? If a value or : container

Re: Properties

2003-11-29 Thread Paul Hodges
on the current status of strictures. : Assuming no strictures at all, I'd rather expect Perl to autovivify : properties much the way hash elements are created when you assign a : value to a previously nonexistant key, but that's exactly the : reason I *NEVER* leave strictures *or* warnings off

Re: Properties

2003-11-29 Thread Paul Hodges
--- Larry Wall [EMAIL PROTECTED] wrote: On Sat, Nov 29, 2003 at 08:50:57AM -0800, Paul Hodges wrote: : hmm... lexical propertiesI've read the rest of the message, : and I see how this could be a problem. Just to be clear on it, : what exactly would it mean for a property or trait

Re: Properties

2003-11-29 Thread Paul Hodges
--- Paul Hodges [EMAIL PROTECTED] wrote: print foo is $x; With deeply sincere apologies, that should have been print foo if $x; __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/

Re: Properties

2003-11-29 Thread Larry Wall
that mean you're leaning more toward allowing : undeclared properties, or just that you're still trying to give both : sides of the argument thorough consideration? I'm not doing either of those things... :-) : Just for my vote, I want to be able to declare new properties, but : would rather

Re: Properties

2003-11-29 Thread Larry Wall
On Sat, Nov 29, 2003 at 12:53:50PM -0800, Paul Hodges wrote: : : --- Larry Wall [EMAIL PROTECTED] wrote: : On Sat, Nov 29, 2003 at 08:50:57AM -0800, Paul Hodges wrote: : : hmm... lexical propertiesI've read the rest of the message, : : and I see how this could be a problem. Just

Re: Properties

2003-11-29 Thread Paul Hodges
: but it confuses me. Does that mean you're leaning more toward : allowing undeclared properties, or just that you're still trying : to give both sides of the argument thorough consideration? I'm not doing either of those things... :-) Yayy! :) : Just for my vote, I want to be able

Re: Properties

2003-11-29 Thread Paul Hodges
: And exportation??? Exportation is just aliasing some name inside a scope to somewhere outside the scope. Importatation is the same operation from the viewpoint of the importing scope. I just wasn't thinking clearly when you said it the first time. Perl 5 didn't allow exportation of

Re: Properties

2003-11-29 Thread Paul Hodges
With apologies, I'm already seeing blunders. *sigh* my Baz @ray = ( Baz.new() ); No reason to type that. Should be my @ray = ( Baz.new() ); __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/

Re: Properties

2003-11-29 Thread Luke Palmer
that properties work just like other names, so they can be stuck in package symbol tables, too. Is that possible? Baz has no zippy, so I'd have to use but, right? How about $tst but= Bar.zippy; # is zippy a class property? $tst but= Bar::zippy; # is zippy a class method? do I need

Re: Properties

2003-11-28 Thread Smylers
to read a property would also expect to be able to set it in the same way. ... as long as we limit the .bar notation to rvalues or to lvalues on already-created properties. And in fact, we may be limiting the creation of properties to predeclared names, That sounds like a much better solution

Properties

2003-11-27 Thread Luke Palmer
Here's a series of questions/confirmation requests about how properties work (but specifically run-time properties, not traits): Use Cbut to assign a property to a Ivalue: $a = $b but foo; # $a has property foo, $b does not Properties are just out-of-band methods: if $x.foo

Re: Properties

2003-11-27 Thread Larry Wall
On Thu, Nov 27, 2003 at 12:02:30AM -0700, Luke Palmer wrote: : Here's a series of questions/confirmation requests about how properties : work (but specifically run-time properties, not traits): : : Use Cbut to assign a property to a Ivalue: : : $a = $b but foo; # $a has property foo

Re: Properties

2003-11-27 Thread Simon Cozens
[EMAIL PROTECTED] (Larry Wall) writes: P.S. I think we deserve a $rubyometer-- for bypassing mixins. I think you deserve loud and wild applause for an object model I want to use Right Now Dammit. -- Overall there is a smell of fried onions. (fnord)

Re: Properties

2003-11-27 Thread Paul Hodges
--- Larry Wall [EMAIL PROTECTED] wrote: ... in fact, we may be limiting the creation of properties to predeclared names, so that even return 0 but ture; can be caught at compile time. Excellent, so long as we can define new properties explicitly. At the moment, I draw a complete

Re: Properties

2003-11-27 Thread Larry Wall
On Thu, Nov 27, 2003 at 08:08:05PM -0800, Paul Hodges wrote: : : --- Larry Wall [EMAIL PROTECTED] wrote: : ... in fact, we may be limiting the creation of properties : to predeclared names, so that even : : return 0 but ture; : : can be caught at compile time. : : Excellent, so long

Properties Methods

2003-04-03 Thread Luke Palmer
Another one of my little annonyances in the current state of P6 is how run-time properties are accessed. Accessing properties as methods is pretty, but I see it as potentially dangerous. Adding a new method to a class that happens to be the same as somebody's property would be lucky to get some

Re: a thought on multiple properties

2003-03-13 Thread Austin Hastings
--- Michael Lazzaro [EMAIL PROTECTED] wrote: On Thursday, March 13, 2003, at 12:04 PM, Mark Biggar wrote: What we do need is some way of bundling a bunch of traits together under a simple name. Yes, yes, yes. Defining a Class for this is also overkill. Ye.. well, no. Why?

Re: a thought on multiple properties

2003-03-13 Thread Dave Whipp
Michael Lazzaro wrote: Defining a Class for this is also overkill. Ye.. well, no. Why? class Foo is Bar; # normal inheritance class Baz is Bar; # the thing that we are over-killing Foo.isa(Baz) == FALSE; A lightweight, typedef-like mechanism behaves differently: class Foo is Bar;

Re: a thought on multiple properties

2003-03-13 Thread Chris Dutton
wonder a bit about the idea of mutually exclusive properties, where one can take effect if the other(s) doesn't make sense in the current context. Getting mired in life can really detract from following the developments in this community.

Re: a thought on multiple properties

2003-03-13 Thread Michael Lazzaro
it like this, I wonder? Since Csub is itself a class, you can subclass it. And since A6 indicates that the signature, traits, and even implementing body are just properties of a given Csub object, you should be able to override them individually if you want, for example, an alternate

Re: a thought on multiple properties

2003-03-13 Thread Austin Hastings
between subs/blocks and streaming video compression, but it is too large to fit in the margin :-) And since A6 indicates that the signature, traits, and even implementing body are just properties of a given Csub object, you should be able to override them individually if you want, for example

Re: a thought on multiple properties

2003-03-13 Thread Larry Wall
On Thu, Mar 13, 2003 at 01:47:19PM -0500, Chris Dutton wrote: : This may have been asked before, and I apologize if I somehow missed it, : but can junctions be used for multiple properties? : : I can see it possibly being useful in a situation like the : following(which may be completely off

Re: a thought on multiple properties

2003-03-13 Thread Luke Palmer
Ah, I get it. But why would you want that -- treating Foo and Baz as synonymous? Shouldn't you always be using Baz instead of Foo, if you really mean Baz and not Foo, and vice versa? Because later on, if you changed it such that: class Foo is Bar; typedef Baz is Bar is

Re: a thought on multiple properties

2003-03-13 Thread Austin Hastings
--- Michael Lazzaro [EMAIL PROTECTED] wrote: A lightweight, typedef-like mechanism behaves differently: class Foo is Bar; typedef Baz is Bar; Foo.isa(Baz) == TRUE; Ah, I get it. But why would you want that -- treating Foo and Baz as synonymous? Treating BAR and BAZ as

Re: a thought on multiple properties

2003-03-13 Thread Jonathan Scott Duff
On Thu, Mar 13, 2003 at 01:47:19PM -0500, Chris Dutton wrote: This may have been asked before, and I apologize if I somehow missed it, but can junctions be used for multiple properties? I can see it possibly being useful in a situation like the following(which may be completely off, as I'm

Re: a thought on multiple properties

2003-03-13 Thread Mark Biggar
Jonathan Scott Duff wrote: On Thu, Mar 13, 2003 at 01:47:19PM -0500, Chris Dutton wrote: This may have been asked before, and I apologize if I somehow missed it, but can junctions be used for multiple properties? I can see it possibly being useful in a situation like the following(which may

Re: a thought on multiple properties

2003-03-13 Thread Michael Lazzaro
On Thursday, March 13, 2003, at 12:04 PM, Mark Biggar wrote: What we do need is some way of bundling a bunch of traits together under a simple name. Yes, yes, yes. Defining a Class for this is also overkill. Ye.. well, no. Why? So instead of saying: my %pet is Hash of Array of Array

Question (#2) about Apocalypse 6 : Can is properties by specified indirectly?

2003-03-10 Thread Austin Hastings
Having just read through the declaration bits (not the calling bits, yet): It is explicitly stated that is rw on a slurpy parameter distributes across all the components. Is there some way of differentiating array of const vs. array of rw? That is, creating a hash or array that can be extended

Re: Question (#2) about Apocalypse 6 : Can is properties by specified indirectly?

2003-03-10 Thread Luke Palmer
I believe you'd have to create a class for such things, derived from Array: class AppOnlyArray is Array { method STORE(int $index, $value) { fail Can't modify existing element if 0 = $index .length;

  1   2   3   4   >