On Fri, Nov 23, 2012 at 03:24:00PM +0100, Arne Skjærholt wrote:
Hi all.
I have rewritten S21 so that Zavolaj/NativeCall is spec. S21 as of
right now is probably the most thorough documentation of the current
state of NativeCall.
Most of the basic functionality is fairly stable I think, and
On Thu, Mar 22, 2012 at 11:14:54PM +0100, Daniel Carrera wrote:
Hey,
I have a few slightly related questions:
1. The semicolon operator would allow Perl 6 to support N-dimensional
arrays... How would one iterate over that type of array?
my num @matrix[ 10 ; 10 ; 10 ];
I ask because a
On Fri, Dec 23, 2011 at 10:59:58PM +1100, Kris Shannon wrote:
sub infix:foo ($a, $b = ($a foo 2 * 3 - $a)) is tighter(infix:*)
{
$a == 0 ?? 1 foo 2 * 3 !! $a + $b
}
say 1 foo (2 * 3);
# 7
say (1 foo 2) * 3;
# 9
say 1 foo 2 * 3;
# 9
say infix:foo(1);
# Niecza: 7
say 0 foo
On Thu, Aug 18, 2011 at 04:06:47PM +0200, Carl Mäsak wrote:
I was working on the Little Animal Farm game yesterday, and wanted to
make it totally safe against tampering from the outside. (See
http://masak.org/carl/yapc-eu-2011-little-animal-farm/talk.pdf.)
I ended up implementing a custom
I intend to change the definition of eval such that it does not catch
exceptions. String eval's role as the catcher of exceptions is a legacy of
Perl 1, which had no block eval, and I feel it has no place in Perl 6.
The exception catching and associated unwinding makes it impossible to use
On Sat, May 07, 2011 at 03:45:02PM +1000, Michael G Schwern wrote:
I was just playing around with eval, trying to figure out if you can define an
operator overload at runtime (seems you can't, good) and noticed this in the
spec... [1]
Returns whatever $code returns, or fails.
How does
[In response to a comment on perl6-compiler, in the thread
[perl #85746] spec/S29-context/sleep.t is way too relax]
On Wed, Mar 09, 2011 at 12:31:34PM -0600, Patrick R. Michaud wrote:
While researching this ticket, I notice that S29 has a Csleep
function defined (line 246); this seems to be in
On Sat, Nov 13, 2010 at 06:09:00PM +0100, Jonathan Worthington wrote:
...
With packed arrays, however, I'm less clear what they mean. Since
the point of a packed array is compact storage, there's no chance to
actually have containers. Thus does assignment to a slot in a
compact array ever make
On Fri, Nov 12, 2010 at 06:59:59PM -0800, Ben Goldberg wrote:
(snip plea to paint the bikeshed fuchsia)
The design of the I/O system will be chosen by the first person to implement
it. If you want any say in the matter, you need to be that person. Bonus
points if you also port at least one app
On Thu, Nov 11, 2010 at 05:47:46PM -0800, Ben Goldberg wrote:
I would like to know, is perl6 going to have something like select
(with arguments created by fileno/vec), or something like IO::Select
(with which the user doesn't need to know about the implementation,
which happens to be done
On Fri, Oct 15, 2010 at 01:42:06PM +0200, Leon Timmermans wrote:
On Wed, Oct 13, 2010 at 1:20 AM, Tim Bunce tim.bu...@pobox.com wrote:
I've not used them, but Ruby 1.9 Fibers (continuations) and the
EventMachine Reactor pattern seem interesting.
Continuations and fibers are incredibly
On Sat, Jul 31, 2010 at 08:23:29PM +0200, Carl Mäsak wrote:
* It has been decided that attribute slots of the type $!foo are only
allowed *syntactically* within the class block that declares them.
(The exception to this, I guess, is the 'trusts' directive.) But this
means that something like
On Sat, Jul 31, 2010 at 02:36:02PM -0400, Brandon S Allbery KF8NH wrote:
On 7/31/10 14:23 , Carl Mäsak wrote:
a. Allow this form of encapsulation breakage.
b. Disallow detaching of certain methods.
c. Disallow attaching of certain anonymous methods.
I must confess I don't particularly
On Thu, Jun 17, 2010 at 04:55:38PM -0700, Darren Duncan wrote:
So, is Rakudo Star meant to be a parallel release series, sort of like
Perl 5.12.x vs 5.13.x are now, or are the monthly Rakudo releases we've
been seeing going to be named Star at some point? I thought I read
recently that
On Sat, Jun 05, 2010 at 09:19:01AM +1000, Timothy S. Nelson wrote:
Hi. I've been thinking more about reversible grammars. Specifically,
I'm wondering if the following pseudo-code will be possible:
## Match a grammar here
$match = Grammar.match($text)
## Need some code here to get
On Thu, Jun 03, 2010 at 03:52:02PM +0200, pugs-comm...@feather.perl6.nl wrote:
Author: masak
Date: 2010-06-03 15:52:01 +0200 (Thu, 03 Jun 2010)
New Revision: 31082
Modified:
docs/Perl6/Spec/S32-setting-library/Str.pod
Log:
[S32/Str] rethinking of tab characters
Also added a
On Thu, Jun 03, 2010 at 07:00:17PM +0200, Carl Mäsak wrote:
sorear ():
2. Indenting a blank line results in a blank line, not a line with only
whitespace.
What about indenting a line with only whitespace?
Implementor's choice; it won't come up in the viv port.
I think I can see use
On Tue, Apr 27, 2010 at 06:31:01AM +0200, Stéphane Payrard wrote:
When doing an analyse of a sample parse tree, I note that it is
cluttered by the reduction of optional subrules
to generate a zero length parse subtree. That is, rules with a '?'
quantifier matching zero time.
Suppressing such
(The following describes a proposed extension to Perl 6, methodical scoped
operators or methodicals for short. It is written in the present tense for
simplicity but should be understood as the future conditional.)
Normally, when you write a method call, the definition of the method is
entirely
On Wed, Apr 21, 2010 at 12:35:11PM -0300, Daniel Ruoso wrote:
Em Qua, 2010-04-21 às 00:16 -0700, Stefan O'Rear escreveu:
Normally, when you write a method call, the definition of the method is
entirely in the domain of the receiver's class:
$object.make-me-a-sandwich; # $object gets
20 matches
Mail list logo