develooper Front page | perl.perl6.language | Postings from April 2012

[perl6/specs] 5bb94e: Remove =* init; add 'is default(*)' and such

From:
GitHub
Date:
April 30, 2012 12:16
Subject:
[perl6/specs] 5bb94e: Remove =* init; add 'is default(*)' and such
Message ID:
4f9ee50b23b86_69f4d77ae4806f8@sh3.rs.github.com.mail
  Branch: refs/heads/master
  Home:   https://github.com/perl6/specs
  Commit: 5bb94ec3ac754edadb7256c23bbdc9410de862d0
      https://github.com/perl6/specs/commit/5bb94ec3ac754edadb7256c23bbdc9410de862d0
  Author: Larry Wall <larry@wall.org>
  Date:   2012-04-30 (Mon, 30 Apr 2012)

  Changed paths:
    M S02-bits.pod

  Log Message:
  -----------
  Remove =* init; add 'is default(*)' and such

The = * initiazer is too huffmanly short, and we need those semantics
for other traits anyway, so make it 'is default(*)'.  We're also
wanting defaults for other containers (such as KeySets), so spec
the 'default' trait on containers in general.







nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About