Author: autrijus
Date: Wed Feb 22 11:01:51 2006
New Revision: 7784
Modified:
doc/trunk/design/syn/S12.pod
Log:
* S12: replace the inaccurate use "eigenclass" with "metaclass"
* Also specify "$.foo" and "$.foo(...)" forms as contextful
shorthands of me
Author: autrijus
Date: Thu Feb 23 13:25:31 2006
New Revision: 7812
Modified:
doc/trunk/design/syn/S11.pod
Log:
* S11: Inner modules can now decalare "is export" as well;
exports are now collected with the inner ::EXPORT module,
with tagsets as inner modules within it; "us
Author: autrijus
Date: Thu Feb 23 13:35:36 2006
New Revision: 7814
Modified:
doc/trunk/design/syn/S11.pod
Log:
* S11 typo fix and version bump.
Modified: doc/trunk/design/syn/S11.pod
==
--- doc/trunk/design/syn/S11
Author: autrijus
Date: Thu Feb 23 17:02:39 2006
New Revision: 7831
Modified:
doc/trunk/design/syn/S11.pod
doc/trunk/design/syn/S12.pod
Log:
* S11: fix another typo. Typo`R`us.
* S12: remove the remaining "eigenclass" misnomer when it means "metaclass".
Modified: doc/
Author: autrijus
Date: Fri Feb 24 05:49:02 2006
New Revision: 7839
Modified:
doc/trunk/design/syn/S02.pod
doc/trunk/design/syn/S04.pod
doc/trunk/design/syn/S06.pod
Log:
* Textual cleanup of S2/4/6. No functional changes.
- Change sentences like "Perl 6 will support"
Author: autrijus
Date: Fri Feb 24 10:58:18 2006
New Revision: 7849
Modified:
doc/trunk/design/syn/S06.pod
doc/trunk/design/syn/S10.pod
doc/trunk/design/syn/S13.pod
Log:
* more A*->S* changes.
Modified: doc/trunk/design/syn/S06.
Author: autrijus
Date: Fri Feb 24 12:21:45 2006
New Revision: 7853
Modified:
doc/trunk/design/syn/S04.pod
Log:
* S04: The "If a curly occurs by a line by itself, then it
stands for end of statement" rule from A04 is brought
foward and further generalized -- now it only has to b
Author: autrijus
Date: Fri Feb 24 14:16:49 2006
New Revision: 7858
Modified:
doc/trunk/design/syn/S09.pod
Log:
* S09: Autovivification no longer happens under rvalue context.
Suggested and contributed by Yuval Kogman.
Modified: doc/trunk/design/syn/S09.pod
Author: autrijus
Date: Fri Feb 24 15:05:03 2006
New Revision: 7859
Modified:
doc/trunk/design/syn/S05.pod
Log:
* returning from within a rule sets the "result object",
which can be accessed with the .() dereferencer.
Modified: doc/trunk/design/s
Author: autrijus
Date: Sat Feb 25 01:59:19 2006
New Revision: 7867
Modified:
doc/trunk/design/syn/S05.pod
Log:
* S05: Fix the <(...)> typo (was spelled <(...\>) and
make the moose example slightly more idiomatic.
Modified: doc/trunk/design
Author: autrijus
Date: Sun Feb 26 01:32:17 2006
New Revision: 7874
Modified:
doc/trunk/design/syn/S11.pod
Log:
* S11: Import from pseudo-packages like GLOBAL and CALLER.
Modified: doc/trunk/design/syn/S11.pod
Author: autrijus
Date: Sun Feb 26 01:35:45 2006
New Revision: 7875
Modified:
doc/trunk/design/syn/S06.pod
Log:
* S06: Explicit importation in q:code// from the :COMPILING scope
using the q:code(:COMPILING<$x>)// form.
* Also point out we can easily bind symbols at macro-run time,
Author: autrijus
Date: Sun Feb 26 07:45:08 2006
New Revision: 7876
Modified:
doc/trunk/design/syn/S03.pod
doc/trunk/design/syn/S04.pod
doc/trunk/design/syn/S05.pod
doc/trunk/design/syn/S06.pod
doc/trunk/design/syn/S09.pod
doc/trunk/design/syn/S12.pod
Log:
* podchecking all the
Author: autrijus
Date: Sun Feb 26 07:48:47 2006
New Revision: 7877
Modified:
doc/trunk/design/syn/S02.pod
Log:
* S02: Non-qualified variables, such as $x and &f, _always_
refers to lexicals under default strictitude, because we
can now say:
our $x; # brings from pac
Author: autrijus
Date: Tue Feb 28 07:22:23 2006
New Revision: 7898
Modified:
doc/trunk/design/syn/S05.pod
Log:
* S05: Generalizing +$/ and ~$/ delegating to $(), by stipulating
that all explicit coercion forms, except for boolean, dispatch
from Match to its result object.
Modified: doc
Author: autrijus
Date: Sun Mar 12 05:15:15 2006
New Revision: 8122
Modified:
doc/trunk/design/syn/S12.pod
Log:
* S12: private methods are no longer .:meth, but !meth.
Modified: doc/trunk/design/syn/S12.pod
==
--- doc
Author: autrijus
Date: Sun Mar 12 05:16:44 2006
New Revision: 8123
Modified:
doc/trunk/design/syn/S06.pod
Log:
* S06: Patch from bsb++ to make macros hygienic by default,
with TimToady++'s idea for q:code(:COMPILING) to denote
unhygienicness.
Modified: doc/trunk/design/syn/S0
Author: autrijus
Date: Fri Mar 31 03:13:46 2006
New Revision: 8501
Modified:
doc/trunk/design/syn/S06.pod
Log:
* I don't believe in a Ref type...
(\3 now just means \(3), constructing an Arguments object.)
Modified: doc/trunk/design/syn/S0
Author: autrijus
Date: Fri Mar 31 03:16:08 2006
New Revision: 8502
Modified:
doc/trunk/design/syn/S02.pod
Log:
* S02: Explicit division of immutable/mutable/native types.
* S02: "Int"'s bigint autopromotion must not change its underlying
type (i.e. "int" ->
Author: autrijus
Date: Fri Mar 31 03:21:59 2006
New Revision: 8503
Modified:
doc/trunk/design/syn/S02.pod
Log:
* upon further discussion, in the interest of optimizability,
Code/Block is now immutable and only Routine/Subroutine/Methods
are mutables.
Modified: doc/trunk/design/syn/S02
Author: autrijus
Date: Fri Mar 31 04:07:40 2006
New Revision: 8504
Modified:
doc/trunk/design/syn/S06.pod
Log:
* S06: Updated built-in classes:
- bring in "uint" from S09 (boxes to Int)
- new "Buf" class to represent subscriptable byte streams
- "Arguments&
Author: autrijus
Date: Fri Mar 31 04:10:36 2006
New Revision: 8505
Modified:
doc/trunk/design/syn/S09.pod
Log:
* excise the "ref" from S09
Modified: doc/trunk/design/syn/S09.pod
==
--- doc/trunk/design/s
Author: autrijus
Date: Fri Mar 31 07:02:49 2006
New Revision: 8511
Modified:
doc/trunk/design/syn/S06.pod
Log:
* S06: note that all native types autobox to their uppercased
counterparts. Nicholas++ for asking.
Modified: doc/trunk/design/syn/S06.pod
Author: autrijus
Date: Sat Apr 1 10:32:53 2006
New Revision: 8520
Modified:
doc/trunk/design/syn/S02.pod
Log:
* S02: destill the compoments of an Arguments object, and
specify the $() @() %() &() casting forms for them.
Modified: doc/trunk/design/syn/S02
Author: autrijus
Date: Sat Apr 1 10:34:41 2006
New Revision: 8521
Modified:
doc/trunk/design/syn/S03.pod
Log:
* S03: Value-type semantics; $obj.id.true disambiguates
between prototypes and instances; user-defined value
objects has to return some builtin values as their .id.
Modified
Author: autrijus
Date: Sat Apr 1 10:35:35 2006
New Revision: 8522
Modified:
doc/trunk/design/syn/S04.pod
Log:
* S04: Specify "fail" semantics in detail, and the relationship
to the environmental $! variable. Handling and propagation
of "unthrown except
Author: autrijus
Date: Sat Apr 1 10:36:25 2006
New Revision: 8523
Modified:
doc/trunk/design/syn/S05.pod
Log:
* S05: $/.() is now $$/. $() still works as $$/, and we
have @() %() forms that maps to @$/ and %$/.
Modified: doc/trunk/design/syn/S05.pod
Author: autrijus
Date: Sat Apr 1 10:43:08 2006
New Revision: 8524
Modified:
doc/trunk/design/syn/S06.pod
Log:
* S06: De-mystifying the logic for named arguments.
"*$x" is now just casting $x as an Arguments object.
Differ between "foo;" and "foo
Author: autrijus
Date: Sat Apr 1 10:43:58 2006
New Revision: 8525
Modified:
doc/trunk/design/syn/S11.pod
Log:
* S11: Allow user-defined dynamic exportation with EXPORT
routines, which assume the semantic from Damian's
Perl6::Export::Attrs.
The magical e
Author: autrijus
Date: Sat Apr 1 10:44:53 2006
New Revision: 8526
Modified:
doc/trunk/design/syn/S12.pod
Log:
* S12: The "call" form can now be used to call the next
MMD or SMD candidate.
A "proto" declaration needs to happen before multis.
Fi
Author: autrijus
Date: Sat Apr 1 11:56:07 2006
New Revision: 8527
Modified:
doc/trunk/design/syn/S02.pod
Log:
* Fix typo as reported by Joe Gottman.
Explicitly specify the rvalue-ness, interpolated-ness, and
default-to-match-object-ness of prefix sigil operators.
Modified: doc/trunk
Author: autrijus
Date: Sat Apr 1 14:01:16 2006
New Revision: 8528
Modified:
doc/trunk/design/syn/S06.pod
doc/trunk/design/syn/S12.pod
doc/trunk/design/syn/S13.pod
Log:
* S06+S12: Split the old "multiple-dispatch" into two distinct ideas:
- "Method call"
Author: autrijus
Date: Sat Apr 1 14:07:20 2006
New Revision: 8529
Modified:
doc/trunk/design/syn/S06.pod
doc/trunk/design/syn/S12.pod
doc/trunk/design/syn/S13.pod
Log:
* Bump version for the affected S06, S12 and S13.
Modified: doc/trunk/design/syn/S06.pod
Author: autrijus
Date: Sat Apr 1 19:35:01 2006
New Revision: 8531
Modified:
doc/trunk/design/syn/S02.pod
Log:
* S02: typo fix and wording cleanup from Uri Guttman.
Modified: doc/trunk/design/syn/S02.pod
==
--- doc
Author: autrijus
Date: Sat Apr 1 20:10:15 2006
New Revision: 8532
Modified:
doc/trunk/design/syn/S02.pod
Log:
* upper/lowercase English nit fix for the last patch as suggested by TimToady
Modified: doc/trunk/design/syn/S02.pod
Author: autrijus
Date: Sat Apr 1 20:46:57 2006
New Revision: 8533
Modified:
doc/trunk/design/syn/S13.pod
Log:
* S13: specify type casting in the form of
multi submethod *infix:
which usually only cares about the class of its second invocant.
Modified: doc/trunk/design/syn/S13.pod
Author: autrijus
Date: Sat Apr 1 20:49:18 2006
New Revision: 8534
Modified:
doc/trunk/design/syn/S06.pod
doc/trunk/design/syn/S12.pod
Log:
* Larry (aka TimToady in the previous commit log; sorry for
spilling of IRC context) requested that "multi" should still
only default
Author: autrijus
Date: Sat Apr 1 21:18:08 2006
New Revision: 8535
Modified:
doc/trunk/design/syn/S06.pod
Log:
* S06: Rationalize the free mix of named and positional args.
Positional pair arguments must _always_ be put in parentheses.
Multiple named arguments with the same
Author: autrijus
Date: Mon Apr 3 05:47:07 2006
New Revision: 8553
Modified:
doc/trunk/design/syn/S09.pod
Log:
* S09: Leo pointed out the paragraph on autovivifiction
is still mentioning references. Replace it with modern
wording (surface semantics stays unchanged)
Modified: doc/trunk
Author: autrijus
Date: Mon Apr 3 15:48:30 2006
New Revision: 8555
Modified:
doc/trunk/design/syn/S06.pod
Log:
* S06: Make it clear that concat-means-concat for duplicated
named arguments, and that it is possible to bind a tuple
into a scalar.
sub fun (Int @x
Author: autrijus
Date: Wed Apr 5 18:36:02 2006
New Revision: 8567
Modified:
doc/trunk/design/syn/S03.pod
Log:
* Prefix sigil casters $ @ % & now joins the other prefix
unary operators, such as \ ~ + *, on the 4th level of
precedence table.
Modified: doc/trunk/design/syn/S03
Author: autrijus
Date: Wed Apr 5 18:59:00 2006
New Revision: 8568
Modified:
doc/trunk/design/syn/S03.pod
Log:
* S03: Excise the "reference" word; "array reference" is now
simply Array objects, and prefix * can flatten hashes
as well as arrays.
Modified:
Author: autrijus
Date: Wed Apr 5 19:08:28 2006
New Revision: 8569
Modified:
doc/trunk/design/syn/S02.pod
doc/trunk/design/syn/S05.pod
Log:
* S02/S05: Excise "reference" from them.
Modified: doc/trunk/design/s
Author: autrijus
Date: Wed Apr 5 19:18:40 2006
New Revision: 8570
Modified:
doc/trunk/design/syn/S04.pod
doc/trunk/design/syn/S06.pod
doc/trunk/design/syn/S09.pod
doc/trunk/design/syn/S10.pod
doc/trunk/design/syn/S12.pod
Log:
* S04/S06/S09/S10/S12: Excise "reference"
Author: autrijus
Date: Wed Apr 5 21:20:13 2006
New Revision: 8571
Modified:
doc/trunk/design/syn/S02.pod
Log:
* Damian noted that the S02 chunk about Code object doesn't
quite make sense anymore; fixed the grammar and supplied
two examples.
Modified: doc/trunk/design/syn/S0
Author: autrijus
Date: Wed Apr 5 22:15:15 2006
New Revision: 8572
Modified:
doc/trunk/design/syn/S02.pod
Log:
* S02: Grammar fixes from Uri.
Modified: doc/trunk/design/syn/S02.pod
==
--- doc/trunk/design/syn/S02.pod
Author: autrijus
Date: Wed Apr 5 22:30:44 2006
New Revision: 8573
Modified:
doc/trunk/design/syn/S02.pod
Log:
* S02: fix the three places where the old form:
$x .(...)
needs to be replaced to the new form:
$x. (...)
Modified: doc/trunk/design/syn/S02.pod
Author: autrijus
Date: Wed Apr 5 22:38:07 2006
New Revision: 8574
Modified:
doc/trunk/design/syn/S02.pod
Log:
* S02: use sane (and valid) examples for rule_mod_internal and
rule_mod_external grammatical categories.
Modified: doc/trunk/design/syn/S02.pod
Author: autrijus
Date: Thu Apr 6 01:12:52 2006
New Revision: 8593
Modified:
doc/trunk/design/syn/S02.pod
doc/trunk/design/syn/S13.pod
Log:
* S02/S13: s/casted/cast/, as suggested by Uri.
Modified: doc/trunk/design/syn/S02.pod
Author: autrijus
Date: Thu Apr 6 01:29:34 2006
New Revision: 8594
Modified:
doc/trunk/design/syn/S03.pod
Log:
* More grammar nits, from Daniel Hulme
Modified: doc/trunk/design/syn/S03.pod
==
--- doc/trunk/design/syn
Author: autrijus
Date: Sat Apr 15 06:17:49 2006
New Revision: 8698
Modified:
doc/trunk/design/syn/S02.pod
doc/trunk/design/syn/S03.pod
doc/trunk/design/syn/S06.pod
doc/trunk/design/syn/S09.pod
Log:
* Synopses: Change "Arguments" to "Capture" to avoid using a
pl
Author: autrijus
Date: Sun Apr 16 18:24:04 2006
New Revision: 8724
Modified:
doc/trunk/design/syn/S06.pod
doc/trunk/design/syn/S09.pod
Log:
* more typo cleanups promted by Dr. Ruud.
Modified: doc/trunk/design/syn/S06.pod
Author: autrijus
Date: Mon Apr 17 08:52:55 2006
New Revision: 8741
Modified:
doc/trunk/design/syn/S04.pod
Log:
* S04: Capture ~~ Signature can test for bindableness.
Modified: doc/trunk/design/syn/S04.pod
==
--- doc
Author: autrijus
Date: Mon Apr 17 20:39:37 2006
New Revision: 8765
Modified:
doc/trunk/design/syn/S06.pod
Log:
* S06: Clarified "multidimensional Capture" part by stating
that only the positional/named parts gets into *@;x, and
the invocant is exempt from it. This allows
Author: autrijus
Date: Wed Apr 19 06:01:46 2006
New Revision: 8877
Modified:
doc/trunk/design/syn/S06.pod
Log:
* S06: two trivial syntax typos.
Modified: doc/trunk/design/syn/S06.pod
==
--- doc/trunk/design/syn/S06
Author: autrijus
Date: Thu Apr 20 23:49:15 2006
New Revision: 8893
Modified:
doc/trunk/design/syn/S05.pod
Log:
Stylistic cleanup of S05; no functional changes.
* s/TimToady/Larry Wall/
* Consistently change "foo" to C or I to be consistent
with context.
* Fixed the
Author: autrijus
Date: Fri Apr 21 08:56:22 2006
New Revision: 8899
Modified:
doc/trunk/design/syn/S05.pod
Log:
* S05: Oops, turns out I entirely read perlop.pod incorrectly;
"it matches once only" means "it matches successfully once only",
not "it performs the
Author: autrijus
Date: Sat Apr 22 00:22:21 2006
New Revision: 8908
Modified:
doc/trunk/design/syn/S03.pod
Log:
* S03: Document that C and C forms are not declarators.
Modified: doc/trunk/design/syn/S03.pod
==
--- doc
Author: autrijus
Date: Sat Apr 22 03:04:09 2006
New Revision: 8909
Modified:
doc/trunk/design/syn/S03.pod
Log:
* S03: Clarify that C<*> does not really provide list
context to its operand; rather, it injects the
operand to the currnent argument.
Modified: doc/trunk/desi
Author: autrijus
Date: Sun Apr 23 08:02:50 2006
New Revision: 8917
Modified:
doc/trunk/design/syn/S02.pod
Log:
* S02: The *() form now means *($/).
* Clarified that $() etc are term-level macros.
Modified: doc/trunk/design/syn/S02.pod
Author: autrijus
Date: Sun Apr 23 09:07:38 2006
New Revision: 8918
Modified:
doc/trunk/design/syn/S04.pod
Log:
* S04: the stop-parsing-on-bare-block rule for conditionals:
if -e { say "exists" } { extra() }
has also to stop parsing on pointies:
if -e -> $x { say "
Author: autrijus
Date: Tue Apr 25 08:48:59 2006
New Revision: 8941
Modified:
doc/trunk/design/syn/S03.pod
Log:
* S03: Cleanups.
* There's no "$s xxx" postfix form anymore -- write "$s xx *".
* "@a === @a" is sufficient to illustrate the reference-iden
Author: autrijus
Date: Tue Apr 25 09:03:00 2006
New Revision: 8942
Modified:
doc/trunk/design/syn/S02.pod
doc/trunk/design/syn/S03.pod
doc/trunk/design/syn/S04.pod
doc/trunk/design/syn/S06.pod
Log:
* S02, 03, 04, 06: Remove all occurrence of "tuple" and replace
it with
Author: autrijus
Date: Tue Apr 25 09:37:36 2006
New Revision: 8943
Modified:
doc/trunk/design/syn/S02.pod
Log:
* S02: Cleanup provisional-call text a bit, adding some more
examples, and note that method calls are never provisional
and cannot be invalidated.
Modified: doc/trunk
Author: autrijus
Date: Wed Apr 26 07:12:51 2006
New Revision: 8953
Modified:
doc/trunk/design/syn/S03.pod
Log:
* S03: particle++ noted the omission of prefix unary
= and -e -w -x etc from the operator table.
Modified: doc/trunk/design/syn/S03.pod
Author: autrijus
Date: Wed Apr 26 09:36:05 2006
New Revision: 8957
Modified:
doc/trunk/design/syn/S02.pod
Log:
* S02: Explicitly define how Ps/Pe and BidiMirroring
characters match, and resolve the one-to-many
open/closing mapping by preferring the lower
codepoint
Author: autrijus
Date: Wed Apr 26 09:45:43 2006
New Revision: 8958
Modified:
doc/trunk/design/syn/S02.pod
Log:
* U+201A and U+201E also have to go.
Modified: doc/trunk/design/syn/S02.pod
==
--- doc/trunk/design/syn
Author: autrijus
Date: Wed Apr 26 10:05:19 2006
New Revision: 8961
Modified:
doc/trunk/design/syn/S02.pod
Log:
* Further note that Ps/Pe dominates BidiMirroring, so U+298D
maps to U+298E, and U+298E itself does not open brackets.
Modified: doc/trunk/design/syn/S02.pod
Author: autrijus
Date: Wed Apr 26 10:07:38 2006
New Revision: 8962
Modified:
doc/trunk/design/syn/S02.pod
Log:
* S02: bump version from the unicode change; also merge in
azuroth++'s typo fix, as well as paragraph reflow.
Modified: doc/trunk/design/syn/S0
Author: autrijus
Date: Sat Apr 29 08:27:29 2006
New Revision: 9004
Modified:
doc/trunk/design/syn/S02.pod
Log:
* S02: Change the section headings "Atoms" and "Molecules" to the more
descriptive "Lexical Conventions" and "Whitespace and Comments".
Author: autrijus
Date: Sat Apr 29 23:39:39 2006
New Revision: 9029
Modified:
doc/trunk/design/syn/S06.pod
Log:
* S06: aufrank++ pointed out the quicksort example was still
using the (?$foo) form in Sigs instead of ($foo?).
Modified: doc/trunk/design/syn/S06.pod
Author: autrijus
Date: Mon May 1 01:31:24 2006
New Revision: 9050
Modified:
doc/trunk/design/syn/S02.pod
Log:
* S02: even more long dot fixes.
Modified: doc/trunk/design/syn/S02.pod
==
--- doc/trunk/design/syn/S02
Author: autrijus
Date: Mon May 1 01:33:08 2006
New Revision: 9051
Modified:
doc/trunk/design/syn/S04.pod
Log:
* S04: minor typo cleanup.
* S04: Document a consequence caused by the statement-terminating
end-of-line block rule:
# Without the trailing comma, this becomes a code
Author: autrijus
Date: Mon May 1 01:35:22 2006
New Revision: 9052
Modified:
doc/trunk/design/syn/S12.pod
Log:
* S12: The example
@array.=sort
is better written as
@array .= sort
as it's not impossible for "=sort" to be a postfix operator
on its own.
Modified: d
Author: autrijus
Date: Mon May 1 08:43:47 2006
New Revision: 9069
Modified:
doc/trunk/design/syn/S03.pod
Log:
* S03: Correct the perl5ish "map" example to have an extra comma.
17:44 < TimToady> audreyt: foo {...} 1,2,3 is wrong, needs a comma.
Modified: doc/trunk/de
Author: autrijus
Date: Mon May 1 09:18:16 2006
New Revision: 9071
Modified:
doc/trunk/design/syn/S06.pod
Log:
* S06: Add Whatever to the list of "Undefined types".
Modified: doc/trunk/design/syn/S06.pod
Author: autrijus
Date: Mon May 1 10:32:02 2006
New Revision: 9076
Modified:
doc/trunk/design/syn/S03.pod
Log:
* S03.pod: Retire lvalue undef and replace it with lvalue Whatever:
# Perl 5
(undef, undef, $x) = (1,2,3);
# Perl 6
(*, *, $x) = (1,2,3);
Modified: doc/trunk
Author: autrijus
Date: Tue May 2 05:49:59 2006
New Revision: 9099
Modified:
doc/trunk/design/syn/S03.pod
Log:
* S03: Minor typographical correction, changing the
"===>" operator-lookalike to a more conventional
comment. Reported by lichtkind++
Modified: doc/trunk/desig
Author: autrijus
Date: Tue May 2 10:46:43 2006
New Revision: 9103
Modified:
doc/trunk/design/syn/S02.pod
Log:
* S02: Clarify that subscripts evaluates under list context
at RHS, but scalar context at LHS. Also adds some
example code to illustrate various interactions
Author: autrijus
Date: Thu May 11 02:52:17 2006
New Revision: 9176
Modified:
doc/trunk/design/syn/S06.pod
Log:
* S06: "but true" is now spelled as "but True"
Modified: doc/trunk/design/syn/S06.pod
Author: autrijus
Date: Fri May 12 18:49:49 2006
New Revision: 9222
Modified:
doc/trunk/design/syn/S06.pod
Log:
* S06: Only bare keys with valid identifier names are recognized
as named arguments:
doit when => 'now';# always a named arg
doit 'when' =&
opses. :-)
Thanks,
/Autrijus/
* deref is now 0-level; $x = 3; $y = \$x; $y++. # now an exception
* coercion is now done in mmd level in coerce: calls.
sqrt("element") now yields to 0. `my Int $x = "foo" as Str` casts.
* `is lazy` parameters in MMD now causes the argument to be de
left hand side has no infix:<===> defined? Exporting a method
is a novel concept to me, too.
Thanks,
/Autrijus/
pgpigCNf0h7Ht.pgp
Description: PGP signature
recognise that magic
and act accordingly.
Does this seem sane? The static detection of $_ is the showstopper
currently, and Pugs will need to separate the compiler with PIL evaluator
to implement the pragma.pm above. Before that happens, I'll still
pretend that:
use self
On Mon, Jul 11, 2005 at 09:04:54PM -0700, Larry Wall wrote:
> On Tue, Jul 12, 2005 at 10:17:01AM +0800, Autrijus Tang wrote:
> : On Mon, Jul 11, 2005 at 06:29:28PM -0700, Larry Wall wrote:
> : The obvious thought is to have yet another magical, $^H like flag, to
> : denote the current
ay
not silently make use of caller's symbols, which naturally includes
user-defined operators.
Thanks,
/Autrijus/
pgpqaHnKc8q8K.pgp
Description: PGP signature
me-use-strict-with-pride/pride.pm
Are we to discontinue use of [EMAIL PROTECTED], and switch to the
slightly more difficult but far more manageable approach of rebinding
&*require?
Thanks,
/Autrijus/
pgpe8MIKLR2cj.pgp
Description: PGP signature
ttern
matching and division gradually fades away, at which time
its novelty cease to be a problem.
Thanks,
/Autrijus/
pgpyMrTt9ljfK.pgp
Description: PGP signature
$x.sm_eq($y)
}
Is that close to what you want?
Thanks,
/Autrijus/
pgpcsCh4xCa7z.pgp
Description: PGP signature
On Thu, Jul 14, 2005 at 09:38:45PM +0200, Juerd wrote:
> Nathan Gray skribis 2005-07-14 12:55 (-0400):
> > Autrijus joked? about $?.method once (instead of ./method), in case we
> > need any more bad alternatives for $?SELF.method. But I also trust
> > @larry, or %larry, or e
}
> > }
> > multi infix:<~~> (SmartMatchEq $x, SmartMatchEq $y) {
> > $x.sm_eq($y)
> > }
> >
> > Is that close to what you want?
>
> Well, we'll need useful MMD for that to work =/
Huh, useful MMD already works for that. Which part does not work?
Thanks,
/Autrijus/
pgprEv6Ih1cLP.pgp
Description: PGP signature
Thanks,
/Autrijus/
pgp5r3rYqcaLb.pgp
Description: PGP signature
On Mon, Jul 18, 2005 at 03:48:55PM -0700, Brent 'Dax' Royal-Gordon wrote:
> Autrijus Tang <[EMAIL PROTECTED]> wrote:
> > This currently works in Pugs:
> >
> > for [1..10].pairs -> Pair $x { say $x.value }
> >
> > But this does not
ment becomes:
sub ($x) { }# Item $x
-> $x { } # Any $x- i.e. Item|Pair but not Junction
{ $^x } # Any $x- i.e. Item|Pair but not Junction
Does this sound sane?
Thanks,
/Autrijus/
pgpbsmHzHG4yc.pgp
Description: PGP signature
people will be
less inclined to use it. "Boxed"?
Thanks,
/Autrijus/
pgpO521iJVLcV.pgp
Description: PGP signature
els natural for me that Any occurs at the
position of Mumble.
Thanks,
/Autrijus/
pgplBqGItv0yM.pgp
Description: PGP signature
pass both checks:
sub id ( Any $x ) returns Any|All { return($x) }
D) Make the return type observe both #2 and #3 at compile time,
using type variables:
sub id ( (::T) $x ) returns ::T { return($x) }
At this moment, I don't have a strong preference to either; I'
On Thu, Jul 28, 2005 at 03:55:55AM +0800, Autrijus Tang wrote:
> Hrm. I thought the original motivation of forcing people to write
>
> Any|Junction
>
> was precisely to discourage people from accidentally write
>
> sub foo (Any $x)
>
> and have $x accept
On Thu, Jul 28, 2005 at 05:03:05AM +0800, Autrijus Tang wrote:
> Hence, it seems to me that there are only four ways out:
Some annotations copied from discussion in #perl6:
> A) Omit the #3 check from compile time; at runtime, use the actual
> type of $x. The "returns&qu
On Thu, Jul 28, 2005 at 05:57:28AM +0800, Autrijus Tang wrote:
> On Thu, Jul 28, 2005 at 05:03:05AM +0800, Autrijus Tang wrote:
> > Hence, it seems to me that there are only four ways out:
>
> Some annotations copied from discussion in #perl6:
Last time I reply to myself
1 - 100 of 302 matches
Mail list logo