Hi, I'm having some trouble building pugs.
GHC 6.10.1 installed OK, as did cabal-install and all its
dependencies, but cabal install pugs dies, at trying to build
haskeline-0.6.1.2.
apparently IConv.hsc is including h_iconv.h which has an error.
AFter the build I try find / -name IConv.hsc but
I've got pugs installed now. I had to tell cabal where I installed my
aftermarket libraries:
pinky ~/pugs $ cabal install pugs --extra-lib-dirs=/usr/local/lib
--extra-include-dirs=/usr/local/include
.
pinky ~/pugs $ pugs
__
/\ __ \
\ \ \/\ \ __ __ __ __ (P)erl 6
\
/languages/rakudo $ gmake
/home/yary/parrot/parrot
/home/yary/parrot/runtime/parrot/library/PGE/Perl6Grammar.pbc \
--output=src/gen_grammar.pir \
src/parser/grammar.pg src/parser/grammar-oper.pg
/home/yary/parrot/parrot /home/yary/parrot/compilers/nqp/nqp.pbc
--output=src/gen_actions.pir
OK, I'll try some/all of the suggestions. I have a few comments-
On Thu, Feb 26, 2009 at 12:06 PM, Patrick R. Michaud pmich...@pobox.com wrote:
...
A longer announcement should be hitting the list later today,
but for now the recommended build sequence for rakudo is:
$ git clone
I've browsed the discussions on re-implementing reduce in perl6, and
saw the comment how arity returns the # of required arguments. I
wanted to refer back to a discussion of arity in the synopsis, looking
to see if there was a way to get the # of optional args, but grepping
through the directory
Synopsis 6 has arity
arity vs count for manditory vs optional parameters
sorry for the noise
/parrot_config.c
g++ -o parrot \
src/main.o src/parrot_config.o \
-Wl,-R/home/yary/rakudo/parrot/blib/lib
-L/home/yary/rakudo/parrot/blib/lib -lparrot -lm -lutil -lpthread
-lreadline -lncurses -Wl,-E
-Wl,-R/usr/libdata/perl5/i386-openbsd/5.8.6/CORE
/home/yary/rakudo/parrot/blib/lib/libparrot.so: warning
On Mon, Mar 16, 2009 at 4:40 AM, Ujwal Reddy Malipeddi
ujwa...@gmail.com wrote:
yary,
I got similar error on windows
due to incomplete parrot checkout from svn
moritz_++ suggested to checkout without errors .. it's working on my system
now :)
Sorry that I wasn't clear in my first email
I just pulled the fresh rakudo sources, Configured them with
--gen-parrot and the parrot build fails:
...
./miniparrot config_lib.pasm runtime/parrot/include/config.fpmc
...
Null PMC access in get_pmc_keyed_str()
gmake: *** [runtime/parrot/include/parrotlib.pbc ...
It looks like I'm having
So, what's the way to tell smolder make failed?
After looking into it a bit more, there is a buildbot for parrot, so
I'm seeing about adding my system to that.
In the bigger picture, I was thinking that the right way to start a
smoke test would be-
0.remove all dependencies on the
I am still getting a Null PMC access in get_pmc_keyed_str() error
when building parrot as part of rakudo on my OpenBSD system, same
error Alex had when starting this thread. I've tracked it down to line
170 in runtime/parrot/library/parrotlib.pir
.sub find_file_path
.param string name
Hello all,
looks like Parrot's been failing some automated smoke tests for the
last couple days. Here are links to the last passing reports:
http://buildbot.eigenstate.net:8040/fc6-x86_64-trunk/builds/1451
http://buildbot.eigenstate.net:8040/OpenBSD-trunk-builder/builds/150
and the first failing
Looks like the failed tests are due to a problem uploading the
reports, not with anything inside Parrot itself. I'll see if I can
figure out who can fix that.
On Mon, May 4, 2009 at 1:45 PM, Patrick R. Michaud via RT
perl6-bugs-follo...@perl.org wrote:
moritz_ rakudo: say (hash(a = '3' )).perl
should that be say (hash('a' = '3' )).perl - is the bareword a intentional?
say a = 3
(no output)
say 'a' = 3
a 3
say (hash('a' = '3' )).perl
{a =
I don't recall if defined autovivifies, but assuming it does that would make
sense.
Agreed that if defined autovivifies, it explains observed behavior in
current rakudo. But should defined autovivify? That goes against my
intuition.
That's an enjoyable and educational read, thanks!
There's one form under TMTOWTDI that I'd like to see, but can't figure
out myself. It's the version analogous to this perl5 snippet-
sub odd {$_ % 2}
say grep odd,0..6;
-where the line that filters the list mentions no variables at all,
and
On Tue, May 26, 2009 at 1:57 PM, Patrick R. Michaud pmich...@pobox.com wrote:
On Mon, May 25, 2009 at 12:37:34PM -0700, yary wrote:
How about...?
sub odd { ^$a % 2 }
typo. sub odd {$^a % 2} works (caret goes between $ and a)
say grep odd, 0..6;
nice. I need to learn the differences
I'm a relative beginner at perl6, but pretty good with perl5 (and C
and a few others), so I read
for 0...@foo.elems
as saying Give me a list with one item longer then @foo, not give
me the indexes of @foo. I can see users being tripped up by the old
problem of we start counting at 0 and not at 1,
Is it still a global in Perl 6?
It's not even global in perl5.10. perldoc says:
As of release 5 of Perl, assignment to $[ is
treated as a compiler directive, and cannot
influence the behavior of any other file. (That's
why you can only
If anyone wants to try tackling this, a longer APL one-liner is
referenced on the APL wikipedia page and discussed in length here:
http://catpad.net/michael/apl/
As an aside, APL was the first computer language I was exposed to.
When I was around 7 years old my aunt (who lived in Boston near
And a link explaining the shorter one-liner:
http://aplwiki.com/GameOfLife
Back to the question of cool things about perl6- after showing some
of the extended syntax and its expressiveness, put up a slide saying
it's still Perl.
Show that much of the basics still work:
my @x=('a' .. 'z'); @x[3,4]=qw(DeeDee Ramone);
say @x.splice(2,4).join(',')
c,DeeDee,Ramone,f
the
On Thu, May 28, 2009 at 5:58 PM, John M. Dlugosz
2nb81l...@sneakemail.com wrote:
I came upon a copy of A Programming Language in a similar way. My Dad
passed it on from a co-worker. I don't recall how young I was, but it was a
very interesting read. Perhaps this attracts youngsters because
How does one create an anonymous multidimensional array in p6? Not an
array of arrays or a capture of captures... I'm guessing it involves
Array.new(:shape) or something like words go in here:shape(2;2), and
that it's not yet implemented in Rakudo.
Is anonymous multidimensional array creation
On Mon, Jun 1, 2009 at 10:43 PM, John M. Dlugosz And it should be an
error if dimensions other than the highest are
unspecified. How can it know how to shape it? Use an explicit command to
shape up the argument in that case.
I don't see why shape(2;*) is not a problem and shape(*;2) is a
I haven't gotten deep into the shape/array specs and I need to... nonetheless
On Tue, Jun 2, 2009 at 9:55 AM, Larry Wall la...@wall.org wrote:
I don't see why we shouldn't use the capture shape of the value
by default all the time, and do linear reshaping only if the value
comes in as a flat
I'm about halfway through reading Synopsis 3 and have a couple
comments/questions.
Is there, should there be unicode synonyms for the feed operators? eg
== is also ⇐ lArr;LEFTWARDS DOUBLE ARROW
== is also ⇒ rArr;RIGHTWARDS DOUBLE ARROW
I don't see as obvious candidates for == and ==,
I am tickled pink to see an Array rotate method in the settings spec
S032, as I was thinking of writing up a little discussion on the very
topic.
Has there been discussion on using array rotate on multi-dimensional
arrays? Being able to pass in a vector as the amount to rotate would
be useful.
Putting this in a new thread, as I'd like to discuss it separately
from refinements to Array.rotate
On Fri, Jun 12, 2009 at 10:11 AM, Jon Langdatawea...@gmail.com wrote:
With a multi-dimensional array, a number of transforms can be considered:
* you can rearrange the elements along a given
I think any 1D op could be transformed to do the right thing on a
multidimensional array, with some sort or hyperop or reduction
transform. Rotate, reverse, even add/subtract can be told do your
thing along this vector and return a usefully dimensioned result.
Need to work on other things at the
I think this proposal goes to far in the dwimmery direction-
On Sat, Jun 13, 2009 at 12:58 PM, John M. Dlugosz2nb81l...@sneakemail.com
wrote:
Daniel Ruoso daniel-at-ruoso.com |Perl 6| wrote:
So, how do I deal with a multidim array? Well, TIMTOWTDI...
my @a = 1,[2,[3,4]];
say @a[1][1][1];
Apologies for the long post with mistakes in it. I'm going to try
again, biting off less.
my @g[2;2];
@g[0;0]='r0c0';
@g[0;1]='r0c1';
@g[1;0]='r1c0';
@g[1;1]='r1c1';
@g[1] is r1c0 r1c1 due to S09:
Multi-dimensional arrays, on the other hand, know how to handle a
multidimensional slice, with one
I had a bit of a problem when first encountering xor with more than
two operands as well. It made sense after I thought about it
linguistically instead of mathematically. When speaking people often
use a string of ors to mean pick one and only one of these choices,
the the exclusion of all others.
On Wed, Jun 24, 2009 at 7:21 AM, Kyle Hasselbacherkyl...@gmail.com wrote:
This seems to be covered by a test in
t/spec/S02-whitespace_and_comments/comments.t:
Not exactly, the new case is two angle brackets which is a synonym for
french quotes, the existing test has single and tripled brackets
S02 says-
Anywhere you can use a single type you can use a set of types, for
convenience specifiable as if it were an or junction:
my Int|Str $error = $val; # can assign if $val~~Int
or $val~~Str
so would
sub infix:...(Array|Scalar $values, Code $generator)
be kosher?
I'm with
On Thu, Jul 2, 2009 at 8:58 AM, TSathomas.sandl...@vts-systems.de wrote:
... unless list associative operators somehow flatten the
parens away and therefore see a single list of three values instead of
two consecutive lists of two items.
that's exactly what list associative does, it feeds an
On Thu, Jul 2, 2009 at 9:01 AM, yarynot@gmail.com wrote:
On Thu, Jul 2, 2009 at 8:58 AM, TSathomas.sandl...@vts-systems.de wrote:
... unless list associative operators somehow flatten the
parens away and therefore see a single list of three values instead of
two consecutive lists of two
On Wed, Jul 8, 2009 at 3:28 PM, Carl Mäsakcma...@gmail.com wrote:
It's Parrot behavior. It's trivial to change to Too many params passed or
Too many results passed. Would that be clearer?
Maybe, but the problem as described in the original ticket was the
inconsistency of '1' and 'params'
On Wed, Jul 8, 2009 at 8:45 PM, Xiao Yafeng xyf.x...@gmail.com wrote:
Any thoughts?
First let's fix the whitespace in your post so it's easier to read-
My question is: could I write below code in perl6:
# 2 loops like for @a - $b[0],$b[1] {;}
my @a = 1 2 3 4; my @b[2]; for @a -@b {;}
my @a
I understand now. Given a large list, you'd like to assign chunks of
the list to an array, easily, while looping. In other words, you're
looking for a way to abbreviate this:
my $chunk_size=10_000;
my @big=''..'mnop';
for ^...@big :by $chunk_size {
my
+1 on using ln() instead of log()
Also, systems I know of that implement both log() and ln() default
ln() with base e, as perl6 does, log() uses base 10.
On Sun, Jul 12, 2009 at 9:29 AM, Minimiscienceminimiscie...@gmail.com wrote:
On Jul 12, 2009, at 12:07 AM, Chas. Owens wrote:
Since grep is defined as returning a list of matching elements and first
is
defined as being the same as grep, I would say that it returns an empty
list
if nothing
I'd be tickled pink to see parrot in a browser, and that would
certainly attract more developers writing grammars. And parrot's
grammar engine makes it a great choice.
There's an active project moving perl to Google's app engine. I
mention it because they have strict sandbox requirements, and it
A minor point, a capture-of-captures is different from an
array-of-arrays (at least it was a few months ago), and the array
assignment flattens a capture-of-captures into a flat array. If you
want to preserve the capture structure, use
my @@stuff = gather ...
... but rakudo doesn't seem to support
On Sat, Jul 25, 2009 at 2:04 PM, Patrick R. Michaudpmich...@pobox.com wrote:
On Thu, Jul 23, 2009 at 05:56:31PM +0200, TSa wrote:
Hmm, it seems to be the case that the binding is defined to be a
readonly binding to the variable. I consider this a bad thing.
We should have my $x = 1;
I ran a spectest on rakudo as it is in git today on this machine-
pinky ~/rakudo $ *uname -a; cat build/PARROT_REVISION*
OpenBSD pinky.yary.ack.org 3.9 GENERIC#617 i386
40294
And got some failures. (The basic test suite had no failures.) If you want
me to run anything else for more specific info
I'm running one of the buildslave smoke testing machines for parrot,
and noticed that mine the other buildslaves are failing. Seems to be
due to the clients' vigilant checking of SSL certificates-
http://buildbot.eigenstate.net:8040/OpenBSD-trunk-builder/builds/14/step-svn/0
says:
svn: PROPFIND
This spec subtly alters the meaning of Whereas yada used to
mean this is not yet implemented, complain if executed it now adds
but don't complain if it is a class fully implemented elsewhere.
Allowing two implementations of a class iff one of them has a yada
opens up maintenance issues.
I just saw the intent for this in the split up compilation of the
setting thread- that it is useful to:
Enable a class stub syntax that allows us to declare a given symbol
as being a valid class without having to declare the body of the
class at that time. For example:
class Rat { ... };
Sounds like a spectest is in order to prevent that case from
happening, didn't see one in http://perlcabal.org/syn/S03.html (not
that that's the definitive place to look for tests, but that's why I'm
posting instead of DIY)
However, I can well
imagine an implementation botching the cloning of
This is an interesting subpage under Cobra-
http://cobra-language.com/docs/quality/
it actually bears a little on recent discussions about
self-documenting code. I'm a Perl6 beginner so I'm making comments
with expectation that others will correct where I'm wrong
* Doc Strings
Perl6's vision of
I'm confused between using ranges to generate a lazy list and using
them as criteria to match against.
These exclude continuous (non-countable) types-
...
2. There must be a successor function, so that given an object from
the given domain, say a, successor(a) returns one and only one
...
Also, the domain should define how to compare objects and could provide
details about whether the set is finite, countable or uncountable.
...
Sounds like a role Domain that provides methods (off the top of my head)-
ordering - returns Nil if the domain is unordered, or a method
I'm looking forward to Perl 6, and I'm looking into the spec right
now, since that to me is the important bit of a language (I know,
I'm bizarre).
Not at all bizarre, P6 language spec development is the most important
bit going on in the language right now. Well, that plus all the
interesting
On Fri, Dec 11, 2009 at 12:31 PM, pugs-comm...@feather.perl6.nl wrote:
...
-It is a compiler error to use a bare Cprint without arguments.
+The compiler will warn you if use a bare Cprint without arguments.
(However, it's fine if you have an explicit argument list that evaluates to
the
At 00:15 +0100 12/17/09, Moritz Lenz wrote:
Not quite, .abs returns one of the polar coordinates (the magnitude), so
only a method is missing that returns the angle.
Any ideas for a good name?
Would a method called phi with a unicode synonym φ be too obtuse?
-y
On Mon, Jan 4, 2010 at 5:15 AM, Ovid
publiustemp-perl6langua...@yahoo.com wrote:
Given this code:
subset Filename of Str where { $_ ~~ :f };
sub foo (Filename $name) {
say Houston, we have a filename: $name;
}
...
Obviously the error message can use some work, but how would
2010/4/6 Larry Wall la...@wall.org:
Set(Read | Write) # bogus, R|W is really 3 sets, R, W, and RW!
Set(Read Write) # okay, can only represent RW
Set(A | B) doesn't seem so bogus to me, if what you want is the power
set- not the original posters intent, but reasonable in other
On Thu, Apr 8, 2010 at 2:31 PM, pugs-comm...@feather.perl6.nl wrote:
+month (for example April 31st) or in that non-leap year (for example February
+29th 1996).
1996 *was* a leap year! Use 2006 (or 2010, or... etc) if you want a
Feb with 28 days.
On Thu, Apr 8, 2010 at 7:26 PM, Mark J. Reed markjr...@gmail.com wrote:
I think that :toweek should stay as-is; it truncates to whatever the .week
method returns, and that's Monday-based. It would be too inconsistent for it
to do anything else. Asking for the latest prior Sunday or any other
On Sat, Apr 10, 2010 at 4:53 PM, John Siracusa sirac...@gmail.com wrote:
I'm not sure if the intersection of people who speak English and
people who program is better or worse than average when it comes to
grammar, but I do know (from editing my share of writing) that the
average is very bad
Tangentially, I'm a little surprised there isn't a random stream
factory in the core. They're useful for reproducible testing. With a
global random number generator, even if you seed it, another module
can call rand and alter the sequence you get from your rand calls.
I think something like srand
===
indeed truncating to any day of the week can be implemented by user
trivially by adding/subtracting a constant number of days from the
Monday returned.
No, it's not a constant.
$sun = DateTime.new('2010-04-11').trunc( :tosunday ) # 2010-04-11
$mon =
And while we're at it with expanding examples, can we use string
concatenation instead of addition? It makes following what's happening
easier.
eg, +1 on that prior post.
-y
...
On Perlmonks, I have found your answers satisfying but was disappointed
that we seem to be a party of two (at least there is an audience). I feel
that I could wear you out with my questions. I like Perlmonks, but could
move to another site.
A good thing about perlmonks is that your
2010/6/13 Richard Hainsworth rich...@rusrating.ru:
...
Your revcom can be replaced with a single line using core perl6 functions.
I'll give an example that currently works on rakudo for a simple string,
but you can put it into the loop.
start example
my
Warning on using any list-y op on a scalar seems like a good idea, and
the fact that the idea arose after a perl5 misunderstanding now looks
like a red herring. That is, while warning on only
reverse-on-a-scalar may be a bad idea and perl5 specific, I'd vote for
warning on all apparent mis-uses of
If Perl 5 can support
Lingua::Romana::Perligatahttp://www.csse.monash.edu.au/%7Edamian/papers/HTML/Perligata.htmland
let you type
benedictum factori sic mori cis classum.
instead of
bless sub{die}, $class;
then Perl 6 should be able to do it even better. I think it would be
implemented
On Thu, Jun 24, 2010 at 12:08 AM, Jan Ingvoldstad frett...@gmail.comwrote:
On Wed, Jun 23, 2010 at 20:21, Darren Duncan dar...@darrenduncan.net
wrote:
If all invocations of myop use a code literal for the $y argument, then
this can be checked at compile time, but if the argument is a
Reminds me of an article of yore from The Perl Journal Localizing
Your Perl Programs http://interglacial.com/tpj/13/ which discusses
the reasoning behind Locale::Maketext
the point of which is that the values you're looking up should be
able to be functions, to handle some edge cases where
Sounds like a sound generalization to make.
bikeshedding
On Wed, Jun 30, 2010 at 1:29 AM, Richard Hainsworth
rich...@rusrating.ru wrote:
This then means that there is an implicit
$*FS.connect();
that makes the local system available to the program.
mount is the jargon to make a filesystem
On Sun, Jul 11, 2010 at 6:11 PM, Darren Duncan dar...@darrenduncan.net wrote:
...
There is also still the need to cover something that looks like a list of
integers, for the general case of a Blob/Buf literal, and yet it should have
an appearance more like that of a scalar/number/string/etc
mid is too specific. A mean function may be good as part of a
statistics package. Doesn't seem like a good addition to the core.
How about resorting to algebra and using the commutation
my $middle = floor($l / 2 + $r / 2);
or, if you want to use bit ops and integer math, $l + 1 + $r + 1 +
($l
On Thu, Jul 15, 2010 at 9:21 AM, Mark J. Reed markjr...@gmail.com wrote:
By analogy, I'd say week-of-year should work as well.
Oof, is there a generally accepted for numbering weeks within a year?
A month's boundaries' always coincides with a day's boundary, but a
year only occasionally
or, if you want to use bit ops and integer math, $l + 1 + $r + 1 +
($l mod 2 + $r mod 2) + 1
Just because I find a perverse pleasure in this-
$mid = $r+1+$l+1+($r+$l+1)
-y
On Thu, Jul 15, 2010 at 2:13 PM, Brandon S Allbery KF8NH
allb...@ece.cmu.edu wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 7/15/10 12:21 , Mark J. Reed wrote:
By analogy, I'd say week-of-year should work as well.
Wasn't the week stuff punted to a non-core module because there are
On Fri, Jul 16, 2010 at 9:40 AM, Aaron Sherman a...@ajs.com wrote:
For example:
Ab .. Be
defines the ranges:
A B and b c d e
This results in a counting sequence (with the most significant character on
the left) as follows:
Ab Ac Ad Ae Bb Bc Bd Be
Currently, Rakudo produces this:
On Wed, Jul 21, 2010 at 3:47 PM, Jon Lang datawea...@gmail.com wrote:
... When comparing two strings, establishing an order between them is
generally straightforward as long as both are composed of letters from
the same alphabet and with the same case; but once you start mixing
cases,
On Wed, Jul 28, 2010 at 8:34 AM, Dave Whipp d...@dave.whipp.name wrote:
To squint at this slightly, in the context that we already have 0...1e10 as
a sequence generator, perhaps the semantics of iterating a range should be
unordered -- that is,
for 0..10 - $x { ... }
is treated as
for
Swapping the endpoints could mean swapping inside test to outside
test. The only thing that is needed is to swap from to ||:
$a .. $b # means $a = $_ $_ = $b if $a $b
$b .. $a # means $b = $_ || $_ = $a if $a $b
I think that's what not, ! are for!
On Wed, Jul 28, 2010 at 2:29 PM, Aaron Sherman a...@ajs.com wrote:
The more I look at this, the more I think .. and ... are reversed. ..
has a very specific and narrow usage (comparing ranges) and ... is
probably going to be the most broadly used operator in the language outside
of quotes,
On Thu, Jul 29, 2010 at 5:15 AM, Leon Timmermans faw...@gmail.com wrote:
On Thu, Jul 29, 2010 at 3:24 AM, Darren Duncan dar...@darrenduncan.net
wrote:
Some possible examples of customization:
$foo ~~ $a..$b :QuuxNationality # just affects this one test
I like that
$bar = 'hello'
On Thu, Jul 29, 2010 at 4:46 PM, Mark J. Reed markjr...@gmail.com wrote:
$x ~~ any(@array)
I think this came up recently, and that's the way!
-y
On Fri, Jul 30, 2010 at 2:22 PM, Aaron Sherman a...@ajs.com wrote:
If you really want odd, try:
say [1,2,3].first: * === True;
Result: 1
and
say [5,2,3].first: * === True;
Result: Rakudo exits silently with no newline
Looks like a side effect of True being implemented as an enum with
This is getting more and more off topic, but if you want some lojban
pasers, start at
http://www.lojban.org/tiki/tiki-index.php?page=Dictionaries,+Glossers+and+parsers
-y
On Mon, Aug 2, 2010 at 3:58 PM, Carl Mäsak cma...@gmail.com wrote:
Jason ():
No specific tool is best suited for natural
http://smolder.plusthree.com/ seems to be down- are smoke tests still
being collected?
-y
On Wed, Aug 4, 2010 at 6:20 AM, Jonathan Scott Duff d...@pobox.com wrote:
Perhaps, as an optimization, we could create another multi for infix:...
that fires to infix:.. only when the list on either side only contains 1
element and that element is an Int. Something like:
our multi sub
The last added paragraph says (emphasis mine):
+The default metaphor for _picking_ is that you're pulling colored
+marbles out a bag and then putting them back. (For picking without
replacement see Cpick instead.)
+Rolling requires no temporary state.
This is confusing to me. It is
bikeshead
return round 1 + rand * $!sides;
Might be good to refer to http://perlcabal.org/syn/S32/Containers.html
for a more idiomatic way of picking an integer, eg return
(1..$sides).pick
A roll method was just added, though I don't think its implemented
yet. If you're only getting one
In general I like where this is going but need a little hand holding
here- I'm not an expert on junctions or anything perl6-
So I'm going to go on to propose that we create a fifth class of
Junction: the transjunction, with corresponding keyword Cevery.
It seems that by these definitions every
+1 on this
On Mon, Oct 25, 2010 at 4:56 PM, Jon Lang datawea...@gmail.com wrote:
As for the bit about sets vs. lists: personally, I'd prefer that there
not be quite as much difference between them as there currently is.
That is, I'd rather sets be usable wherever lists are called for, with
the
From S12- which I'm just reading due to a blog post from jwrthngtn, I
haven't thought this through-
---
You can have multiple multi variables of the same name in the same
scope, and they all share the same storage location and type. These
are declared by one proto declaration at the top, in which
Roughly speaking, will TIMTOWTDI apply to the language itself
indefinitely? = yes.
Perl 5 is a language defined by an implementation, Perl 6 is a
language defined by a syntax and documentation. While there's no
predicting what will happen, as of now it looks like there will be a
few
I see a pattern - the libs not found have a version number. They
should also be removed (along with the .so), let the linker determine
the version. How it will decide between 4.7 and 4.8 when you tell it
to load libdb is an exercise for someone else. I hate linkers.
-y
On Mon, Dec 27, 2010 at 8:50 PM, Daniel Carrera dcarr...@gmail.com wrote:
So TTIR just means that any two terms must be separated by something, like
an operator (2+5). Which basically is common sense and I'm actually
surprised to hear that in Perl 5 you could have two terms one after the
This is a case where being technically correct is not so useful. If
sleep pauses more than 3x seconds then it was asked to, it indicates
an exceptional set of circumstances. And from what Pascal said, if
there were no upper limit at all, then a bug would have gone un-found
for longer.
I propose
On Wed, Nov 23, 2011 at 9:34 AM, Wendell wendell_hatc...@comcast.net wrote:
... How do I remove myself from this user mail listing ...
It's in the headers- List-Unsubscribe: mailto:perl6-users-unsubscr...@perl.org
send an email to that address from the account you've subscribed with
I wrote my first perl6 over the weekend, needing some help on #perl6.
And now after finishing some lunchtime thoughts I wanted to post here
on my main sticking point.
If one wants to set a private attribute, one must define a submethod
BUILD. If one wants to use any argument in the constructor
On Wed, Feb 1, 2012 at 3:24 PM, Jonathan Lang datawea...@gmail.com wrote:
Why must we use 'submethod BUILD' instead of 'method BUILD'?
Is it some sort of chicken-and-egg dilemma?
from S12:
Submethods are for declaring infrastructural methods that shouldn't
be inherited by subclasses, such as
On Wed, Feb 1, 2012 at 5:41 PM, Carl Mäsak cma...@gmail.com wrote:
...
Getting back to the topic of the original post: I think blessall is
a bad name for what's proposed, and I don't see a fantastically large
need for that functionality. What's wrong with just defining a BUILD
submethod in the
1 - 100 of 463 matches
Mail list logo