>>>>> "KG" == Kenneth Graves <[EMAIL PROTECTED]> writes:

  KG> Really, the only point here is that if we get attributes for both
  KG> variables and values, there will need to be a decision about
  KG> precedence.

damian has been talking about variable having traits and values having
attributes. they will be separated in perl6 but the names and syntax are
in flux. a variable can't have truth/false traits, instead stuff like
constant, integer, array dimensions will be allowed. variable traits
will probably be compile time only and immutable. value attributes will
be run time.

  KG> The harder part will be learning which attributes "should" be attached
  KG> to values, and which to variables.  Will there be a difference
  KG> between
  KG>   my $x is integer = 127;
  KG> and
  KG>   my $x = 127 is integer;

integer would be a variable trait. there will be a fairly short list of
allowed variable traits and that may not be added too by the coder
(unknown for sure). value attributes can be created and modified
always. integer makes sense only as a variable trait.

uri

-- 
Uri Guttman  ---------  [EMAIL PROTECTED]  ----------  http://www.sysarch.com
SYStems ARCHitecture and Stem Development ------ http://www.stemsystems.com
Search or Offer Perl Jobs  --------------------------  http://jobs.perl.org

Reply via email to