FYI - modern Muldis D code examples

2009-04-08 Thread Darren Duncan
P.S. While strictly speaking this might be off-topic for p6l, it is about something that is strongly influenced by Perl 6, and expects to become more like Perl 6 yet, and perhaps might be considered a domain-specific dialect of Perl 6, and there's a chance Perl 6 may learn something from it

[perl #64546] Can't call methods on typed arrays

2009-04-08 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #64546] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=64546 I've just committed the file t/spec/S09-typed-arrays.t and it contains failing tests

r26129 - docs/Perl6/Spec/S32-setting-library

2009-04-08 Thread pugs-commits
Author: lwall Date: 2009-04-08 18:29:54 +0200 (Wed, 08 Apr 2009) New Revision: 26129 Modified: docs/Perl6/Spec/S32-setting-library/Containers.pod docs/Perl6/Spec/S32-setting-library/Str.pod Log: [S32/Containers] join defaults to '' now; delete string reverse [S32/Str] add string flip

Building Rakudo with an installed Parrot

2009-04-08 Thread Michael Schroeder
Hi, I'm trying to build rakudo with an installed parrot. This means that the `parrot_config build_dir` points to a directory that doesn't exist. After patching the Makefile and gen_objectref_pmc.pl the build works. Are there any plans to make this a supported build method? (Also, Rakudo

Re: Building Rakudo with an installed Parrot

2009-04-08 Thread Moritz Lenz
(CC'ing the bug tracker to have the patch in RT) Michael Schroeder wrote: I'm trying to build rakudo with an installed parrot. This means that the `parrot_config build_dir` points to a directory that doesn't exist. After patching the Makefile and gen_objectref_pmc.pl the build works. Are

r26135 - docs/Perl6/Spec/S32-setting-library

2009-04-08 Thread pugs-commits
Author: lwall Date: 2009-04-08 21:21:21 +0200 (Wed, 08 Apr 2009) New Revision: 26135 Modified: docs/Perl6/Spec/S32-setting-library/Containers.pod Log: [S32/Containers] make it possible to reverse a hash without (too much) loss of information when there are duplicate values or list

r26137 - docs/Perl6/Spec/S32-setting-library

2009-04-08 Thread pugs-commits
Author: lwall Date: 2009-04-08 21:32:00 +0200 (Wed, 08 Apr 2009) New Revision: 26137 Modified: docs/Perl6/Spec/S32-setting-library/Containers.pod Log: [Containers] finish the edit Modified: docs/Perl6/Spec/S32-setting-library/Containers.pod

[perl #64556] Multi dispatch works with typed arrays, but not with typed hashes

2009-04-08 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #64556] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=64556 14:13 @moritz_ rakudo: multi f(Int %h) { say 'int' }; multi f(Str %h) { say

[perl #64062] split should return captured delimiters

2009-04-08 Thread Ron Schmidt via RT
Please find attached new, revised, hopefully more spec conformant, patches. One of the two patches includes new tests with some appropriate revisions demonstrating the ability to address Mr. Duff’s concerns. Specifically: split_test( 'abc::def::ghi::'.split(/(\:)/, all = True, 3),

[perl #64558] Re: Building Rakudo with an installed Parrot

2009-04-08 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #64558] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=64558 (CC'ing the bug tracker to have the patch in RT) Michael Schroeder wrote: I'm

[perl #64554] 'my @x of Int' parses, but doesn't work

2009-04-08 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #64554] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=64554 14:08 @moritz_ rakudo: my @x of Int; say @x.of 14:08 p6eval rakudo 4abd89:

[perl #64546] Can't call methods on typed arrays

2009-04-08 Thread jn...@jnthn.net via RT
On Wed Apr 08 02:04:40 2009, ml...@physik.uni-wuerzburg.de wrote: I've just committed the file t/spec/S09-typed-arrays.t and it contains failing tests like this: my Int @a; lives_ok { @a.push: 3 }; it dies with No applicable methods. This was fixed in a commit earlier today and the

[perl #61926] Can't declare the element type of an array or hash

2009-04-08 Thread jn...@jnthn.net via RT
On Fri Jan 02 13:37:57 2009, markusl wrote: FWIW, the first two examples look correct to me. An undefined Int should stringify to `Int'; a defined Int should stringify in the obvious way. Typed arrays and hashes are now somewhat implemented - certainly enough that the issue in this ticket is

[perl #63766] Rakudo gives a Null PMC access when doing map.assuming

2009-04-08 Thread jn...@jnthn.net via RT
On Tue Mar 10 03:43:10 2009, masak wrote: masak rakudo: map.assuming({}) p6eval rakudo 95ce39: OUTPUT«Null PMC access in find_method() [...] * masak submits rakudobug moritz_ rakudo: map.assuming({}); say alive p6eval rakudo 95ce39: OUTPUT«Null PMC access in find_method() [...] masak aye,

[perl #64556] Multi dispatch works with typed arrays, but not with typed hashes

2009-04-08 Thread jn...@jnthn.net via RT
On Wed Apr 08 05:15:12 2009, ml...@physik.uni-wuerzburg.de wrote: 14:13 @moritz_ rakudo: multi f(Int %h) { say 'int' }; multi f(Str %h) { say 'str' }; my Int %h = a = 3; f(%h) 14:13 p6eval rakudo 4abd89: OUTPUT«No applicable candidates found to dispatch to

[perl #63552] $*OUT isn't writeable

2009-04-08 Thread jn...@jnthn.net via RT
On Fri Feb 27 17:47:44 2009, rooneg wrote: Just tried to use the $*OUT filehandle, and it turns out it isn't writeable: $ ./perl6 -e '$*OUT.say(foo)' Cannot write to a filehandle not opened for write ... Seems silly to have a filehandle that maps to stdout if you can't write to it ;-)

r26144 - docs/Perl6/Spec/S32-setting-library

2009-04-08 Thread pugs-commits
Author: autarch Date: 2009-04-09 03:18:55 +0200 (Thu, 09 Apr 2009) New Revision: 26144 Modified: docs/Perl6/Spec/S32-setting-library/Temporal.pod Log: Fix a very tiny typo in Temporal::Datetime.iso8601 Modified: docs/Perl6/Spec/S32-setting-library/Temporal.pod