ould be more comfortable using it.
-- Darren Duncan
considers 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/language/regexes#Conjunc
g for a fully declarative solution in the grammar itself, not
something involving post-processing.
Thank you.
-- Darren Duncan
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
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
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
.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 best standard format for indicating this, eg
"domain:muldis.com" but standa
and be the primary
developer working on it? -- Darren Duncan
see why they can't BOTH be
official sites, like Version 1 plus Version A, no reason to have to pick one.
-- Darren Duncan
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
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
em.
So does "keeper" mean "documentation" here?
Otherwise please explain, thank you.
-- Darren Duncan
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
ar
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
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 knowledge
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 tests, nor
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
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 "
ype can represent is exactly expressible as the
ratio of 2 integers. -- Darren Duncan
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
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
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
.
-- Darren Duncan
e unsigned integer: P6opaque, Str
I also believe the latter would work best for this. -- Darren Duncan
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
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 the set
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
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 aiming
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
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
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:
On Fri
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
ze number and it can also be
negative.
-- Darren Duncan
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 of the earliest
.
-- Darren Duncan
ay 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
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
full stop. -- Darren Duncan
Your saying "count all the number" is confusing and doesn't seem to relate to
what follows. Did you mean to say "sum all the number"? -- Darren Duncan
On 2018-07-10 2:02 AM, ToddAndMargo wrote:
Hi All,
Remembering from my school days, a famous mathematician
whose n
-language-name-for-perl6-goes-here (tm)
-- Darren Duncan
If we assume the use of NQP is part of the project's identity, then yes that
makes sense. Historically that wasn't the case, eg the earlier Rakudo were
written to Parrot PIR directly, and there's the possibility this could change
again, though I see that as unlikely. Not a bad idea. -- Darren
Bad idea. There should not be any number in the name, in any way shape or form.
No six, no ten, or any other. Differentiating factors should be something not
a number. -- Darren Duncan
On 2018-02-09 9:15 PM, Brent Laabs wrote:
Might as well follow Apple and Microsoft and call it Perl Ten
ajor releases (albeit skipping 6 to avoid confusion) just as
Postgres and many other projects do these days, as staying at 5.x forever is weird.
-- Darren Duncan
ctually lose the family thing.
For documentation/marketing materials and to help with continuity, we can
typically reference "the Rakudo language, a sibling of Perl", where the latter
part is then more of a description.
This is what I really think should and that I would
An Excuse does compare
equal to itself. -- Darren Duncan
comparing that to zero,
and it also has meaning for list-like uncountable collections.
-- Darren Duncan
On 2017-12-11 1:02 PM, Vittore Scolari wrote:
I think that this stems from a confusion between the divisibility problem in
integer number (on a ring) and the divisibility problem resolved by th
valid division then we do other particular arithmetic with the results.
The expression "x %% y" is to be equivalent to "(x % y) == 0)".
-- Darren Duncan
As was announced a few days ago, see https://perl6book.com which is a good site
for outlining what books on learning Perl 6 exist and suggestions on where
different kinds of users should start based on their needs. -- Darren Duncan
describe are considered essential, they should receive
updates to run with Win32; otherwise they should be dropped from Star as they
are clearly not considered that essential.
Dropped modules can still be installed separately as add-ons where they work.
-- Darren Duncan
PC makers, and yet other makers were shipping 32 bit only
still 4 years after Apple stopped?
-- Darren Duncan
On 2017-07-25 12:16 PM, Mark Carter wrote:
On 2017-07-25 11:05 AM, Mark Carter wrote:
On 25/07/2017 18:34, Darren Duncan wrote:
How often would someone reasonably be using a cutting
a 64 bit Windows these days?
-- Darren Duncan
On 2017-07-23 10:29 AM, Steve Mynott wrote:
Rakudo itself probably does compile on Windows 32-bit (or least it did
last time I tried it).
But here is no Rakudo Star 32 bit MSI due to problems with modules not
working -- I think linenoise failed
On 2017-07-25 10:05 AM, Brandon Allbery wrote:
On Tue, Jul 25, 2017 at 11:45 AM, Darren Duncan wrote:
However I assume it is the 3 bullet points that the release announcement
highlights: advanced macros, non-blocking I/O, bits of Synopsis 9 and 11.
The fact the announcement
On 2017-07-25 8:32 AM, Steve Mynott wrote:
On 25 July 2017 at 16:23, Darren Duncan <dar...@darrenduncan.net> wrote:
There's a key difference however.
While programming languages continue to evolve, the expectation is that a
production-complete Rakudo would always be a functional su
Perl 6.c?"
-- Darren Duncan
On 2017-07-25 1:02 AM, Elizabeth Mattijsen wrote:
If that is the question, the answer is: the junction of “never" and “now".
Which would also be the answer for Pumpking Perl 5, or any other programming language
like ever. Because as long
On 2017-07-24 11:40 AM, Steve Mynott wrote:
A useful and usable production distribution of Perl 6
The download links on http://rakudo.org/how-to-get-rakudo/ still name the April
release and will need updating. -- Darren Duncan
On 2017-07-21 1:33 PM, Elizabeth Mattijsen wrote:
On 21 Jul 2017, at 21:30, Darren Duncan <dar...@darrenduncan.net> wrote:
Firstly, I believe ∆ (U+2206) is the standard symbol for symmetric difference,
and not circled minus as the above url currently gives.
https://en.wikipedia.or
On 2017-07-21 12:30 PM, Darren Duncan wrote:
On 2017-07-21 5:07 AM, Timo Paulssen wrote:
You want (|) to get the union of two sets as a set.
https://docs.perl6.org/language/setbagmix#Set%2FBag_Operators
hth
- Timo
Right. Every set operation except 1 (multiset sum) should result in a set
, but okay), but there should also be an operator for multiplying 1 bag
by a natural number, that is a scalar multiply of a bag. Unless it is assumed
the standard hyper-operator syntax is best for this.
-- Darren Duncan
Just speculating, but try replacing the "||" with the "|" operator which should
create an ANY Junction, if I'm not mistaken, which may then do what you want. --
Darren Duncan
On 2017-03-24 5:58 PM, ToddAndMargo wrote:
Hi All,,
if $Terminal ~~ /xterm/ || /lin
themselves.
-- Darren Duncan
On 2017-02-13 2:11 AM, ToddAndMargo wrote:
On 02/12/2017 05:12 PM, Darren Duncan wrote:
On 2017-02-12 5:08 PM, ToddAndMargo wrote:
I presume my eyes would tell where I made the boo-boo. Lets hope!
I am real tired of Perl 5's stone age subs declarations. @_, oh brother.
In principle
to have a single variable or keyword to represent
the entire argument list as a single value. Logically, a single value is what
an entire argument list is anyway, with individual arguments being components of
that. -- Darren Duncan
but it may
have been something like "SUB" or "SELF". -- Darren Duncan
On 2017-02-04 12:34 AM, ToddAndMargo wrote:
Hi All,
Just out of curiosity, in Perl 6 can a subroutine call itself?
-T
I am fighting with a broken Net:FTP::rmdir in Perl 5 that
will not recuse as ad
On 2016-10-30 4:11 PM, Darren Duncan wrote:
On 2016-10-30 5:45 AM, yary wrote:
Before/AfterEverything are also easy to understand, and would be as natural to
use for sorting strings, eg. for saying if a database NULL should go before the
empty string or after everything else. On the other hand
I want to give my strong support for this proposal. Call them "curly" quotes.
The term "smart" is BAD in this context. Just like how short cars are not
"smart" even if people say that, only self-driving cars deserve that name. --
Darren Duncan
On 2016-12-04 10
And here I thought IEEE floats had distinct values to represent overflows and
underflows that were distinct from both the zeros and the infinities. -- Darren
Duncan
On 2016-11-22 8:19 PM, Zefram wrote:
Zoffix Znet via RT wrote:
The reason we have a negative floating point zero at all is more
6 with a PSGI/Plack
inspired design, meaning a no-mandatory-shared-code database interface:
https://github.com/muldis/Muldis-DBI-Duck-Coupling-Perl6/blob/master/lib/Muldis/DBI/Duck_Coupling/API.pod
-- Darren Duncan
are the thoughts on this? Can we get appropriate improvements into Perl
6d and implementations etc? Also, is any of what I said actually already done?
Certainly some key parts at least are not.
Thank you.
-- Darren Duncan
Thank you for this Timo, and to everyone else who replied. It did indeed
address what I wanted to know. -- Darren Duncan
On 2016-09-13 5:15 AM, Timo Paulssen wrote:
I'll answer based on the data structures MoarVM uses internally:
On 09/13/2016 05:13 AM, Darren Duncan wrote:> (Pret
the types?
Thank you.
-- Darren Duncan
it considers Greek letters when you
mean symbols.
For example, ∆ is U+2206 named INCREMENT.
Is that not better, or is an actual Greek letter desired in the above example?
-- Darren Duncan
at idea. There is also precedent for a REPL to print a
similar statement like "for help type this". -- Darren Duncan
tudy for whether there is truly a good reason for the code
to work that way, or if there isn't. Keep in mind that the standard libraries
are right now some of the primary examples Perl 6 developers would have to look
at on how to write Perl 6 code. -- Darren Duncan
significant rewrites to take better advantage of the new Perl
6 features and idioms that a more mechanical automatic translation wouldn't.
Did that tell you anything useful?
-- Darren Duncan
I very much agree with this idea, of arguing Perl 6 as a teaching language.
Academia are the ones that would appreciate what Perl 6 offers the most in the
short term, whereas industry would demand a higher standard for it becoming
popular. And the first can lead to the second. -- Darren Duncan
Red Hat is quite conservative. Usually what happens in situations like this
when you want more up to date stuff you get it from alternate repositories that
make Red Hat compatible packages. See also repositories for Fedora or Cent OS.
-- Darren Duncan
On 2016-01-10 11:16 PM, ToddAndMargo
Considering that a non-fat Rat has a 64-bit denominator, I would expect
conversions from Num to make use of that full precision by default, and not
round off to 6 decimal places. -- Darren Duncan
and
Python and Java after. I don't know yet if there is value to targeting Perl 6
at large when I have NQP; I could, but NQP is more important to do in practice I
think.
-- Darren Duncan
k
of the spec or such, though in hindsight of your implementations leading spec
comment, I assume this is also how one indicates dependencies on a spec-leading
compiler.
Thank you.
-- Darren Duncan
On 2015-12-29 5:46 AM, Patrick R. Michaud wrote:
On Tue, Dec 29, 2015 at 01:57:57AM -0800, Darr
On that note, are there going to be Perl 6 versions 6.x.y where {x,y} are
integers? Will 6.0.0 be the first such one? -- Darren Duncan
On 2015-12-29 12:51 AM, Tobias Leich wrote:
Hi, the first official Perl 6 (the language) release is not called 6.0.0, it is
called 6.c.
And this is what has
Since all you want is a constant, try declaring a submethod that has no
arguments and returns the value, instead, its the same thing. -- Darren Duncan
On 2015-12-17 6:46 PM, TS xx wrote:
Hello dear perl6 users,
I was in the need of declaring a member variable as a constant integer. After
many
silently actually expect Perl 6.0.0.0 semantics. We're always going to be
stuck with this problem if we don't make declarations mandatory now. That's a
much more important change to ingrain into those several hundred existing
modules, if they aren't already, nevermind the :D thing. -- Darren Duncan
will get the current behavior with
:D not being default.
I say, save any further major breaking changes before this Christmas for things
that would be really hard to change later and are sure to be worthwhile now, and
the :D thing is not one of those.
What do you think?
-- Darren Duncan
O
.
I mean, this situation seemed to be a solid example of why Perl 6's versioning
scheme exists in the first place, to deal elegantly with things like this.
-- Darren Duncan
. -- Darren Duncan
On 2015-10-13 1:52 AM, Richard Hainsworth wrote:
Following on the :D not :D thread, something odd stuck out.
On 10/13/2015 03:17 PM, Moritz Lenz wrote:
But hopefully none of them breaking backwards compatibility on such a large
scale. The last few backwards incompatible
lasses. They share the same method spaces.
Hey, that sounds like a nice elegant design, I learned something new. -- Darren
Duncan
of core. Exact rationals are not particularly
complicated. Its perfectly reasonable to expect in the core that if someone
does math that is known to deal with irrationals in general, that loss of
precision then is acceptable.
-- Darren Duncan
:auth etc. Note that I
raised this question on #perl6 myself shortly before writing perl6-language, but
the email version is better organized. -- Darren Duncan
On 2015-06-10 11:38 PM, Tobias Leich wrote:
Hi, that is a very interesting use case, and IMO a very valid one.
Currently
Or a pumpkin for that matter, since Perl 5 is Pumpkin Perl. -- Darren Duncan
On 2015-06-11 7:42 PM, Darren Duncan wrote:
I was going to say that too, about the camel trademark issues, so can you make a
version using an onion instead of a camel? See http://www.perlfoundation.org
for what I
I was going to say that too, about the camel trademark issues, so can you make a
version using an onion instead of a camel? See http://www.perlfoundation.org
for what I refer to. -- Darren Duncan
On 2015-06-10 11:34 PM, Moritz Lenz wrote:
Hi,
On 06/10/2015 02:01 PM, Lin Yo-an wrote:
Hi
how
its done.
Thank you.
-- Darren Duncan
Also, there are other newer API docs than the Synopsis that are useful for
study, but printing all this stuff seems very excessive, even more so because
the Synopsis etc keep changing. I advise against printing this stuff in bulk.
-- Darren Duncan
On 2015-05-15 7:54 AM, Elizabeth Mattijsen
On 2015-05-12 12:40 PM, R. Ransbottom wrote:
On Mon, May 11, 2015 at 03:22:46PM -0700, Darren Duncan wrote:
you can use trusts. Also having to do this may indicate bad code
design. -- Darren Duncan
I saw Moritz' and Carl's responses and I agree with the smell
issue.
Given that the code
See Moritz Lenz' response to this thread on March 26. To summarize, you can use
trusts. Also having to do this may indicate bad code design. -- Darren Duncan
On 2015-05-11 2:13 PM, R. Ransbottom wrote:
I need to test some private routines, so is there a way to do
I for one did not know/remember about PERL6LIB and rather all I knew was the
more ambitious plan at http://design.perl6.org/S11.html about CompUnitRepo and
such. -- Darren Duncan
return type outside the signature. -- Darren Duncan
names. -- Darren Duncan
On 2015-03-19 3:20 PM, Tom Browder wrote:
I need to replace the Perl 5 'wantarray' and think a multi method with
differing return types should do it.
So I've tried this:
multi method foo($a, $b -- {Num,Num}) { #... }
multi method foo($a, $b -- Num) { #... }
and get
, each caller context can
call foo() and use the result in the way it expects to. -- Darren Duncan
On 2015-03-19 4:00 PM, Tom Browder wrote (in private):
On Thu, Mar 19, 2015 at 5:53 PM, Darren Duncan dar...@darrenduncan.net wrote:
I think as a general principle, multi methods should dispatch
or
intersection etc, and we would want consistency between values that arise that
way versus ones explicitly selected with a literal. -- Darren Duncan
On 2015-02-21 2:45 AM, Moritz Lenz wrote:
Hi Darren,
On 21.02.2015 08:51, Darren Duncan wrote:
I notice from looking at http://design.perl6.org/S02.html that Blob is listed
both as being a role and as a type. See http://design.perl6.org/S02.html#Roles
for an example of the former, and
http
1 - 100 of 613 matches
Mail list logo