I was just informed by IRC that 'return' propagates the context of the caller.
If that's the case, then we can just drop this discussion, problems solved.
Sorry for wasting your time.
-- Darren Duncan
At 12:07 AM -0800 3/18/05, Darren Duncan wrote:
I suppose, generally ignore
the Perl 5
versions of my other new modules can stand for some large changes in
the Perl 5 versions that I prefer not to redo in a copy. Still, I
should have a new module ported at least one per month following
SQL::Routine.
That is all for this status update.
-- Darren Duncan
d be getting a large influx of
Perl 6 developers, and they might as well have the best possible
experience.
Assuming this request is accepted, I will post again when the
supporting version is available and/or a roadmap is known.
-- Darren Duncan
--
Date: Mon, 28 Mar 2005 14:49
that references of non-scalar values should be returned by
default, and that the method must do an explicit copy if that's what
they want returned. Things are much simpler that way, and its how
Perl 5 worked. -- Darren Duncan
them, as with the modules and their test suites themselves.
The examples assume a perl 6 version of Pugs::MakeMaker exists, which
it doesn't, but meanwhile that faux invocation serves as an
illustration.
-- Darren Duncan
The ref compare should have its own operator.
Now I seem to remember reading somewhere that '===' will do what I
want, but I'm now having trouble finding any mention of it.
So, what is the operator for reference comparison?
Thank you. -- Darren Duncan
At 7:37 AM -0800 4/1/05, Larry Wall wrote:
On Thu, Mar 31, 2005 at 11:46:22PM -0800, Darren Duncan wrote:
: So, what is the operator for reference comparison?
The =:= operator is almost certainly what you want here.
Larry
Thanks to everyone for their answers. Last night I started coding
with
fications.
I intend to deliver "something" along these lines tomorrow, prior to
the .14 release. The first delivery is not guaranteed to execute,
but it should be easy to tell what it is trying to do by looking at
it.
-- Darren Duncan
2005-04-03 Darren Duncan <[EMAIL PROTECTED]>
--
I am now pleased to announce the second developer release of my
Rosetta rigorous database portability library, currently featuring
the SQL::Routine module. (Considering the huge number of c
Since Matt's recent lists summary brought this up ...
At 11:47 PM -0400 4/5/05, Matt Fowles wrote:
Makefile.pl
Darren Duncan noticed that while most things in pugs were written in
Perl 5, while Makefile.PL was still in Perl 5. He suggested that the
Makefile.PLs in various modul
e result of the expression.
If my assertion is used, then all you can short circuit once you find
a true value and a false value.
Of course, we should go with what the official mathematics standard is.
-- Darren Duncan
inely useful.
-- Darren Duncan
remember it being used to
disambiguate.
In any event, I used that form exclusively with my Perl 6 ports to date.
So in that case, the test is wrong.
-- Darren Duncan
At 8:43 PM +0200 4/20/05, Juerd wrote:
Darren Duncan skribis 2005-04-20 11:40 (-0700):
A clear way to disambiguate a block from a hash-ref when using
map/grep/sort etc is to use a colon before the leading brace for a
block rather than a space, like this:
map:{ $_ => uc $_ }
I think the b
hod
to test multiple times if an element is in an array, like this:
my %foo = map:{ ( $_ => 1 ) } @bar;
if( %foo{'abc'} ) ...
if( %foo{'def'} ) ...
if( %foo{'zrs'} ) ...
That closure is returning a pair for each array element.
-- Darren Duncan
x27;.
The adverbial block lets you customize the verb and change its behaviour.
This is how I understand adverbs.
It's a very good system and should be used.
-- Darren Duncan
* Gabor Szabo [2004/06/18 23:34]:
> I am trying to add a bunch of tests in t/ using Test::More but in
> order to make sure we don't lose any previous test we would like to
> keep the test.pl file as it is.
Is porting the tests in test.pl to *.t files not an option?
(darren)
-
don't think that Ask or Robert will give away the source, as it
> is build specifically for perl.org and it's setup.
Is that not http://svn.develooper.com/combust/auth/trunk/ ? You need a
perl.org account to access it.
(darren)
--
Hell is other people.
-- Jean-Paul Sartre
pgpIteB8cgCwd.pgp
Description: PGP signature
cially for those of us who use an offline CPAN mirror most of the
time (i.e., when I don't have net access to poke search.cpan.org).
(darren)
--
"Quiet and courteous" is often mistaken for "kind and polite."
-- Andrew Langmead
pgp0.pgp
Description: PGP signature
ared towards writing TT tests. Some of my TT plugins use
Template::Test instead of Test::More.
(darren)
--
There's no money in poetry, but there's no poetry in money, either.
-- Robert Graves
pgp0.pgp
Description: PGP signature
Or something similar. html_xpath is a horrid name, but you get the
idea. I don't have any code to contribute (the original was implemented
by someone else, in Python), but the idea is mostly formed in my head.
I'd be happy to contribute ideas and/or code to implement such a beast.
(da
* Jim Cromie [2003/12/31 09:15]:
> the diag()s just helped me find the broken tests.
Isn't that what test names are for?
(darren)
--
In order to make an apple pie from scratch, you must first create the
universe.
-- Carl Sagan
pgp0.pgp
Description: PGP signature
use
Buf or Blob etc full stop. -- Darren Duncan
nd 11 have long
term support while Java 9 and 10 are already no longer supported. Who now can
use Java 9 but not use Java 11? -- Darren Duncan
alize the result may not be
particularly useful in the face of NFG.
For a wider context, I know that in other programming languages like .NET or
Java it is possible for their strings to have invalid surrogates, and I'm trying
to figure out if Perl 6 can have the same problem or not.
Thank you.
-- Darren Duncan
rence.
-- Darren Duncan
ep a close
eye on the situation and be ready to change it again quickly if something else
actually becomes the official replacement.
-- Darren Duncan
On 2019-10-16 9:09 a.m., Joseph Brenner wrote:
Last I looked, raku.org redirects to perl6.org already.
On 10/15/19, Darren Duncan wrote:
One
ze number and it can also be
negative.
-- Darren Duncan
excludes them.) -- Darren Duncan
On 2020-01-03 12:03 a.m., Todd Chester via perl6-users wrote:
On 2020-01-02 22:19, Darren Duncan wrote:
On 2020-01-02 10:01 a.m., ToddAndMargo via perl6-users wrote:
How do I do a 32 bit unsigned integer (cardinal)? I
have a situation where I need to be able to
Isn't there typically automated test suites that can prove in a few minutes that
Rakudo works on a particular platform? Would running this typically be good
enough to show that nothing broke in an update? -- Darren Duncan
On 2020-01-04 11:10 a.m., Patrick Spek via perl6-users wrote:
O
On 2020-01-04 5:21 p.m., Patrick Spek via perl6-users wrote:
On Sat, 4 Jan 2020 15:43:37 -0800
Darren Duncan wrote:
Isn't there typically automated test suites that can prove in a few
minutes that Rakudo works on a particular platform? Would running
this typically be good enough to show
On 2020-01-05 1:51 p.m., Patrick Spek via perl6-users wrote:
On Sat, 4 Jan 2020 22:23:30 -0800 Darren Duncan wrote:
Last I recall, there was no Mac installer for Rakudo Star at all, nor
was there any need for one. The compiled project is simply in a zip
file which the end-uaer unzips and then
On 2020-01-06 1:18 a.m., Patrick Spek via perl6-users wrote:
On Sun, 5 Jan 2020 18:27:01 -0800 Darren Duncan wrote:
The normal Rakudo Star releases so far are compiled, [...]
For Mac and Windows, perhaps, but the release is similar as it always
was for GNU+Linux. And I'm mostly aimin
calling a uint32 an "unsigned integer" or "cardinal"
is inaccurate in the same way that calling it an "integer" is. In either case,
the variable can only hold a proper subset of either type, not all of them. If
you're calling integer wrong then one will have to call the type something like
"integers in the range 0..^2**32".
-- Darren Duncan
Brad is saying what I've been saying, while a uint CAN represent a cardinal
number, one does NOT ALWAYS represent a cardinal number, so saying this only IS
a cardinal number is WRONG. -- Darren Duncan
On 2020-01-13 12:56 p.m., Brad Gilbert wrote:
Ok looking into it, zero is inside of th
On 2020-01-12 11:32 p.m., ToddAndMargo via perl6-users wrote:
On 2020-01-12 20:03, Darren Duncan wrote:
A uint32 is NOT specifically a cardinal.
Since a uint32 ca not be negative or a fraction,
it is a cardinal. Other operating system do call
them cardinals, such as Modula2. Pascal, C++ (I
e unsigned integer: P6opaque, Str
I also believe the latter would work best for this. -- Darren Duncan
larly.
-- Darren Duncan
On 2020-01-17 9:00 p.m., ToddAndMargo via perl6-users wrote:
Still don't know what they used the word "sub"
The term "sub" is short for "subroutine", and declaring routines that way is
part of the Perl legacy that lasted into Raku. -- Darren Duncan
Raku has the Native Call interface https://docs.raku.org/language/nativecall
which is what you use instead. -- Darren Duncan
On 2020-02-02 6:36 p.m., wes park wrote:
HI
In perl5 we can use the underline C library for example JSON C with XS
interface.
In perl6 how can we implement it?
Thanks
into Raku are non-symbolic, so the test is simply
"false".
There probably are or probably can be symbolic numeric types, but they wouldn't
be core.
-- Darren Duncan
On 2020-02-19 6:57 p.m., ToddAndMargo via perl6-users wrote:
Hi All,
This is a complete trivia question.
Is
ype can represent is exactly expressible as the
ratio of 2 integers. -- Darren Duncan
On 2020-02-20 2:22 p.m., ToddAndMargo via perl6-users wrote:
On 2020-02-20 00:41, Darren Duncan wrote:
On 2020-02-20 12:10 a.m., Tobias Boege wrote:
Granted, Todd would not have anticipated this answer if he calls
arbitrary length integers "magic powder" and the question "I hav
This reminds me of my 2009 Set::Relation Perl module, which works to help you do
SQL features like this in your application, but will soon be superseded by
another module that also has a Raku version. -- Darren Duncan
On 2020-07-19 1:02 p.m., Joseph Brenner wrote:
I was thinking about the
I would put the examples folder at the root level of the distro, as a peer to
lib and a peer to the tests folder. -- Darren Duncan
On 2020-08-13 9:25 p.m., Stuart Hungerford wrote:
Hi,
I'd like to add some example modules to a Raku module I'm working on.
These are not strictly
These messages are archived on the public internet as far as I know so you've
just made your room and its password published publicly. I hope your Zoom has a
waiting room enabled. -- Darren Duncan
On 2020-10-01 12:24 p.m., Joseph Brenner wrote:
Where is the wisdom we have lost in know
grammar
compile in 1 second rather than 6-7 seconds on my 2013 machine.
See
https://github.com/muldis/Muldis_Object_Notation/commit/568713257c474ad393d2dd6777e2147432cf6ec5
for the exact diff in question that led to this speedup.
-- Darren Duncan
lated features, and in that
case they WOULD be normal arguments or return values. And so the regular type
system still needs to support having anything at all as an argument or return
value. -- Darren Duncan
ku OO system.
So does "keeper" mean "documentation" here?
Otherwise please explain, thank you.
-- Darren Duncan
Thank you to those who replied to my question with private messages.
I now understand what is meant by "keeper" here.
-- Darren Duncan
On 2021-02-14 1:38 p.m., Darren Duncan wrote:
On 2021-02-12 8:12 p.m., ToddAndMargo via perl6-users wrote:
I have been working on this keeper f
I agree, I would also like to know of this official channel and join it. --
Darren Duncan
On 2021-03-12 11:21 p.m., Richard Hainsworth wrote:
This is a request to the Raku Coordinating Council that was elected at the end
of last year.
Please name a channel where community wide plans or
x27;t see why they can't BOTH be
official sites, like Version 1 plus Version A, no reason to have to pick one.
-- Darren Duncan
nd be the primary
developer working on it? -- Darren Duncan
et domain name, say "muldis.com" or alternately its reversed "com.muldis"
form, as an "auth" while making it explicit that this is an internet domain
name, but without naming any protocols like "http" or "https" etc.
Is there some kind of bes
On 2022-07-10 10:56 a.m., Elizabeth Mattijsen wrote:
Fez (aka https://360.zef.pm) will provide *all* versions.
The above url just displays a big data structure when visiting it in a web
browser, and not a normal website, is that correct? -- Darren Duncan
And here Rust seemed to be massively gaining in popularity, and was just
supported officially for Linux kernel driver support etc. -- Darren Duncan
On 2023-06-08 11:17 a.m., Parrot Raiser wrote:
See https://youtu.be/QEnuzwCWpgQ <https://youtu.be/QEnuzwCWpgQ>
This is not meant to be an e
The video is less than 10 minutes long, its not that much effort to watch.
The TL;DW is some bad stuff happened but some things are improving after.
-- Darren Duncan
On 2023-06-09 12:26 a.m., Veesh Goldman wrote:
Could I get a TL;DW on that video? I love Rust, and would hate to see anything
g for a fully declarative solution in the grammar itself, not
something involving post-processing.
Thank you.
-- Darren Duncan
onsiders a char, and this seemed the best way to be sure.
-- Darren Duncan
On 2023-07-30 9:30 p.m., William Michels via perl6-users wrote:
Hi Darren (and Marcel),
Two different approaches:
https://docs.raku.org/language/regexes#Conjunction:_&&;
<https://docs.raku.org/languag
nd they
would be more comfortable using it.
-- Darren Duncan
erved that uncommenting the values of the
Hash declaration at the top of AST.pm causes Pugs to infinite-loop at
runtime. While I will revisit this to try and debug it, I may
possibly need help there later.
Thank you in advance.
-- Darren Duncan
acement effort
has been started.
See the ext/HTTP/ and ext/Web/ skeleton code in the current Pugs
repository, which is basically a copy of Juerd's code in the
discussion emails, which I wrapped with distributions on his behalf
on 20070217.
Presumably Juerd will get back to these when he has the tuits, but
meanwhile you could try improving what he started.
-- Darren Duncan
/HTTP/docs/
The main advantage to seeing the perl6-users archive versions is that
list replies from other people can also be seen there.
-- Darren Duncan
$bar = $foo; # copy by reference
@$bar = @$foo; # copy by value
Actually, I think that would be a vast improvement, as we could then
use the @ prefix with any collection type as short-hand to say that =
is copy by value.
I also don't think the language would feel any less Perlish with
At 5:00 PM -0700 5/14/07, Darren Duncan wrote:
On the other hand, unless this steps on something, I could suggest
dropping the @ and % anyway, so we have $array and $hash, and then
we could instead use the @ and % sigils as a prefix to indicate in
that case that we want them to copy by value
ich stays immutable. We wouldn't want to lose that ability.)
Um, yes, so thank you all who assist in solving this problem.
-- Darren Duncan
---
[ 11:42pm ] dduncan : given that afaik it is best practice when
declaring parameter types or testing argument types that .does() is
used
ypes that could typically bind to each of the sigils (and
everything can bind to $).
Larry thought that perhaps S02 would be the place for it.
In conclusion, I retract my previous suggestion of just using $ where
we used to use @ and %.
-- Darren Duncan
into
an array, but if it doesn't have meaning besides this, in the general
case. Same as all does Str or all does Bool et al.
-- Darren Duncan
the same as Any $foo.
There is no type called Any; that is just a flag for when you accept Object.
Or so I was thinking.
If the actual situation is different, please say how.
-- Darren Duncan
does. We're using "any"
more in that "any of a restricted set" sense than in the "any of
the universal set" sense.
Now that I've heard the explanation of what Any means, I also have no
objection to continuing to use that, such that Any is the complement
of Junction under Universal/Object.
-- Darren Duncan
ail.
If it is true that int et al (ignoring autoboxing) is not conceived
of as an object by users, that reinforces the idea that Universal
sounds more like "everything" than Object does.
-- Darren Duncan
.
After this change, the term Hash is then freed up to be used more
specifically to describe an implementation detail of something and/or
hashing functions et al.
I think this change would be a good thing.
Feedback is appreciated, either pro or con.
-- Darren Duncan
iated matter now. -- Darren Duncan
nfused with pod, which is always not indented.
Simple.
And since Perl 6 does consider whitespace significant sometimes, this
is not unprecedented.
-- Darren Duncan
s benefit, and to
save me from repeating the same answers ad nauseum. Unless the
response is not suitable for public discourse, in which case, sure,
go private email; ditto if you're not sure about appropriateness.
Thank you in advance.
-- Darren Duncan
the Pugs repo since Feb 17th. Actually, see
http://svn.pugscode.org/pugs/ext/HTTP/docs/ first, which is a copy of
the important emails by Juerd which the HTTP+Web were started from.
-- Darren Duncan
s benefit, and to
save me from repeating the same answers ad nauseum. Unless the
response is not suitable for public discourse, in which case, sure,
go private email; ditto if you're not sure about appropriateness.
Thank you in advance.
-- Darren Duncan
orry about now.
-- Darren Duncan
answer for
them. By contrast, the =:= operator always tests if 2 things are the
same object or not, even for those of value types. -- Darren Duncan
,
Wim
I think the only reason not to break 6.6.1 is if there are any major
platforms that 6.6.1 runs on and 6.8.1 doesn't. Or alternately, only
break if it isn't easy enough to work around their differences with
conditionals. -- Darren Duncan
extensions should be in the core. Now, it may just so happen that
certain extension-installing tools might make use of XML-based
protocols to do their job, but that's beside the point; presumably
these would be very specialized and not support any aspect of XML
that isn't specific to
At 2:51 PM +0900 12/4/07, cdumont wrote:
Sorry.
Where can I find a mailing list that is about Perl 6 in general then?
Thank you.
I would recommend that [EMAIL PROTECTED] is the best place to talk
about these things, out of the official Perl 6 lists that I know of.
-- Darren Duncan
such as myself.
I for one can assert that both of these are being produced right now.
Also that neither is part of the Perl 6 kernal, though the kernal may
enhanced over time to better support them. -- Darren Duncan
At 10:23 AM +0300 12/11/07, Richard Hainsworth wrote:
Darren Duncan wrote:
At 9:04 AM +0300 12/10/07, Richard Hainsworth wrote:
Equally, Something to replace CGI or DBI will be essential to the
uptake of P6. I would far prefer to have a skilled and resourceful
professional, such as yourself
llary".
Alternately, the word is spelled "niladic", which also has the advantage of
looking like "monadic", "dyadic", etc. -- Darren Duncan
ing-quoted, that feature should be enough
to let us use things like whitespace in names, so unquoted identifier names
should err on the side of being more strict and limited, I think. -- Darren
Duncan
as
users say "use Perl-6.0.0" their code relying on the older/current Test.pm
like interface won't break.
-- Darren Duncan
no reason to make floats an exception where
they aren't unlimited where integers and other rationals are; after all,
what is a float or scientific notation than just another notation for a
rational value literal.
-- Darren Duncan
nent is always -1 then your profile should be the same as a
numerator/denominator representation. By contrast, normalization for best
memory use would involve using as large a number as possible in the
exponent; ideally the radix would be small as possible, such as 2 or 10.
-- Darren Duncan
Darren Duncan wrote:
4.5207196*10**30 -> 45207196*10**37
Before anyone nitpicks, I meant to say on that line:
4.5207196*10**44 -> 45207196*10**37
-- Darren Duncan
units as additional attributes or metadata.
-- Darren Duncan
t would be exact and unlimited precision, and maybe Symbolic or
IRat or something would be the symbolic number type, also with exact precision
components.
Come to think of it, isn't "whatever" how Num is already defined? If so I think
that is clearly distinct from Rat.
-- Darren Duncan
, an inexact numeric sin() that results in an exact rational is just
a wrapper over the last 2 operations combined, and it takes rounding-control
parameters. I see no problem here. -- Darren Duncan
nction are as if it had; so eg that reduction could be
done lazily, just when the Junction is first used. -- Darren Duncan
e
definition of a Junction as "Set with additional behaviors" but the one()
constructor just excludes values that appear multiple times in its argument
list. In other words, one() *is* the same as any() except for the added filter.
-- Darren Duncan
common default value of a
boolean-typed argument is false. Naming something "case_sensitive" implies that
sensitivity is special whereas sensitivity should be considered normal, and
rather insensitivity should be considered special.
-- Darren Duncan
collation
was just partially ordered.
See what a mess it's going into? Larry, can you think of something
simple? I haven't been able to. Unicode solves so few of the problems
people think it does. We've still so much to do, and I don't just
mean perlers.
AFAIK
Tom Christiansen wrote:
In-Reply-To: Message from Darren Duncan <[EMAIL PROTECTED]>
There is ABSOLUTELY NO WAY I've found to tell whether these utf-8
string should test equal, and when, nor how to order them, without
knowing the locale:
"RESUME",
al of some other type and using a conversion
function to derive the above?
The above is my main question, but also I wonder about how to make an anonymous
literal of a KeyHash|KeySet|KeyBag. And also how does one specify a Rat vs a
Num or what does "18.2" or "4/3" actually get you? And also is there such a
thing as a Buf literal and if so how do you write one?
Thank you. -- Darren Duncan
Moritz Lenz wrote:
Darren Duncan wrote:
But some significant ones I don't know and really want to know:
Bit
Blob
Set
Bag
Mapping
I guess that Mapping is analog to the List/Seq case:
:a(2), :a;
Sure, but given how Pair literals work, how would you know whether the
201 - 300 of 632 matches
Mail list logo