Perhaps https://github.com/raku/problem-solving/issues/406 ?
> On 22 Jun 2025, at 23:43, Joseph Brenner via perl6-users
> wrote:
>
> I remember seeing something like a problem-solving issue talking about
> problems with $/ (or the current behavior of it), and I can't find it at the
> moment.
No, as far as we know, Larry's fine! Just not that active anymore, effectively
retired. And known to not be very responsive to emails. So it felt like a
good idea to make sure that a. he won't be bothered by unnecessary emails, and
b. that people with questions will add an issue to the repo o
> On 7 Jun 2025, at 21:12, ToddAndMargo via perl6-users
> wrote:
> [0] > my int32 $y=-1073741510
> -1073741510
>
> [1] > my $ones-complement = +^$y;
> Bytecode validation error at offset 164, instruction 23:
> operand type 32 does not match register type 24 for op getlex_ni in frame
>
>
> [1]
> On 26 May 2025, at 00:34, Sean McAfee wrote:
>
> On Sun, May 25, 2025 at 12:32 PM Sean McAfee wrote:
> I'll have to play around with your code a bit. Normally I would use
> `.dir(test => /:i \.pdf / )` to pull out PDF files.
>
> Oh yeah, that's a bit better. I'm not as familiar with the p
If you were paid in cash, I wouldn't worry about anything and consider the code
yours.
> On 14 May 2025, at 19:54, ToddAndMargo via perl6-users
> wrote:
>
> On 5/14/25 5:13 AM, Lars Noodén wrote:
>> On 5/14/25 06:54, Clifton Wood wrote:
>>> So for sure you own all of the code*prior* to your mo
> On 13 May 2025, at 12:35, ToddAndMargo via perl6-users
> wrote:
>
> On 5/13/25 2:56 AM, Elizabeth Mattijsen wrote:
>>> On 13 May 2025, at 11:22, ToddAndMargo via perl6-users
>>> wrote:
>>> I just got off a YUGE jobs where I installed two s
> On 13 May 2025, at 11:22, ToddAndMargo via perl6-users
> wrote:
> I just got off a YUGE jobs where I installed two servers, a
> firewall, and redid their networking. Part of what I did
> was a lot of coding to getting things all working as expected.
>
> Question: who own the code I created.
> On 12 Jan 2025, at 04:46, Kevin Pye wrote:
>
> On Sun, 12 Jan 2025, at 14:01, ToddAndMargo via perl6-users wrote:
>> Hi All,
>>
>> Is
>>Q[...]
>>
>> the same thing as
>><...>
>> ?
>
> No.
>
> Q[…] is the bare quoting construct. There'll be no interpolation of
> variables, no splitt
Yes
> On 16 Dec 2024, at 11:52, ToddAndMargo via perl6-users
> wrote:
>
> On 12/16/24 02:27, Elizabeth Mattijsen wrote:
>> class Fruit {
>> has Str $.location is rw = "Cucamonga";
>> has UInt $.apples is rw = 400;
>> has
class Fruit {
has Str $.location is rw = "Cucamonga";
has UInt $.apples is rw = 400;
has UInt $.oranges is rw = 200;
has UInt $.bananas is rw = 50;
``}
> On 16 Dec 2024, at 10:49, ToddAndMargo via perl6-users
> wrote:
>
> Hi All,
>
> In the following;
>
> class
FWIW
Since release 2023.02, there's a Unicode class, with a class method .version:
$ raku -e 'say Unicode.version'
v15.0
> On 9 Dec 2024, at 15:36, William Michels wrote:
>
> Nudging this conversation, ...to follow progress since 2020.
>
> Anyone want to chime it?
>
> Is a $*UNICODE dynamic
>>
>>>> It is 01:50 Pacific Standard Time (PST).
>>>>
>>>> https://kiwiirc.com/client/irc.libera.chat/#raku
>>>>
>>>> gives error 504. I did clear my cache and reproduced
>>>> on both Brave Browser and Firefox
>
No idea. But I suggest using libera.chat's own webservice:
https://web.libera.chat/
> On 15 Nov 2024, at 10:51, ToddAndMargo via perl6-users
> wrote:
>
> It is 01:50 Pacific Standard Time (PST).
>
> https://kiwiirc.com/client/irc.libera.chat/#raku
>
> gives error 504. I did clear my cache
If this is about Rakudo: https://github.com/rakudo/rakudo/issues/new
> On 14 Nov 2024, at 07:32, ToddAndMargo via perl6-users
> wrote:
>
> Hi All,
>
>Where is the official place to report bugs to now?
>
> -T
posters that relate to science, technology, engineering, and
> mathematics."
>
> https://science.perlcommunity.org/spj/about
>
>
>> On Oct 16, 2024, at 06:02, Elizabeth Mattijsen wrote:
>>
>> https://www.barnesandnoble.com/w/the-science-perl-journal-issue-1-marc-p
https://www.barnesandnoble.com/w/the-science-perl-journal-issue-1-marc-perry/1146395697
states:
"The Science Perl Journal is sponsored by the Science Perl Committee of the
Public Enrichment and Robotics Laboratories, the world's only 501(c)(3)
nonprofit focused solely on Perl."
Note: "the worl
> On 16 Oct 2024, at 13:27, Todd Chester via perl6-users
> wrote:
>
> Perl 5?
That publication is from a group of people who want to have nothing to do with
Raku.
It is best ignored here.
> On 31 Jul 2024, at 14:14, Kevin Pye wrote:
> We'll keep looking at other ways of defining the objects, but thanks anyway.
> (And sorry for increasing the RakuAST work needed.)
No worries: what would help is a golf of the problem. And make that an issue
in the rakudo repo.
Liz
> On 31 Jul 2024, at 06:10, Kevin Pye wrote:
>
> I am trying to build a replacement for the existing Physics::Constants
> module, but running into problems when loading the pre-compiled version. I
> want to use code like:
>
> unit module Physics::Constants;
>
> use Physics::Unit;
> use Physic
$ raku -e 'my @a = 1,2,3,6,7,1,2,8; @a .= unique; say @a'
[1 2 3 6 7 8]
https://docs.raku.org/type/Any#method_unique
> On 6 May 2024, at 04:35, ToddAndMargo via perl6-users
> wrote:
>
> Hi All,
>
> I have thought of how to do it and pretty sure
> it would work, but just in case Raku have one
> On 15 Mar 2024, at 03:57, Mark Devine wrote:
>
> Rakoons,
> I keep running into a space with Raku where it would be nice to have some
> magic to reduce boilerplate. I often make roles & classes with interface
> options that flow from a consuming script’s MAIN arguments, then the first
> bi
> On 3 Mar 2024, at 03:32, ToddAndMargo via perl6-users
> wrote:
>
>> On 3/2/24 05:13, Elizabeth Mattijsen wrote:
>>> .sort(*.split(/\d+/, :kv).map({ (try .Numeric) // $_}).List)
>
>> Hi Elizabeth,
>> It works perfectly. Thank you!
>> I have no ide
$ raku -e '.say for .sort(*.split(/\d+/, :kv).map({ (try
.Numeric) // $_}).List)
afoo2
afoo12
> On 2 Mar 2024, at 07:26, ToddAndMargo via perl6-users
> wrote:
>
> Hi All,
>
> @Sorted_List = @Sorted_List.sort: { .comb(/ \d+ | \D+ /) .map({ .Int // .self
> })};
>
> gives me
>
> Element [0
an use for my
>>> modules that does not mimic some other program?
>>>
>>> Many thanks,
>>> -T
>
> On 2/12/24 11:11, Elizabeth Mattijsen wrote:
> > .rakumod
>
>
> Thank you!
>
> Is there a way to get raku to ignore pm (perl 5)
> module naming?
>
.rakumod
> On 6 Feb 2024, at 18:08, ToddAndMargo via perl6-users
> wrote:
>
> Hi All,
>
> I use AnyDesk for remoter customer support. Work rather well.
>
> The file transfer portion, which I adore, posts a Microsoft
> Office Publisher Icon (a big one) when it hits a .pm6 modules.
>
> Is the
> On 10 Feb 2024, at 08:56, ToddAndMargo via perl6-users
> wrote:
>
> Hi All,
>
> Is there a switch to tell Raku to bomb out with a
> type mismatch rather than coercing the following?
>
> > my uint16 $x = -1
> 65535
No, this is intentional behaviour on native integers.
Note that you can incr
rl6-users
>>> wrote:
>>>
>>> Hi All,
>>>
>>> Is there a way to syntax a module? Sort of like the "-c"
>>> option on main programs?
>>>
>>> Many thanks,
>>> -T
>
> On 2/6/24 01:34, Elizabeth Matti
$ raku -c foo.rakumod
Syntax OK
> On 6 Feb 2024, at 00:39, ToddAndMargo via perl6-users
> wrote:
>
> Hi All,
>
> Is there a way to syntax a module? Sort of like the "-c"
> option on main programs?
>
> Many thanks,
> -T
>
>
>
> --
> ~~
> Computers are l
$ raku --help
...
--optimize=level use the given level of optimization (0..3)
...
> On 7 Jan 2024, at 07:09, ToddAndMargo via perl6-users
> wrote:
>
> Hi All,
>
> Is there a switch on the command line to disable the code optimizer?
>
> Many thanks,
> -T
Looking at the Pointer class code, it looks like you can either create it
without arguments, or with an integer argument. The fact that you can
parameterize the Pointer class, only indicates the type of data the pointer is
pointing at.
> On 20 Dec 2023, at 20:12, Marcel Timmerman wrote:
>
>
ot; };
>>> True
>>>
>>> Is there a way to tell .contains that you want to know
>>> if any of a sequence characters is in a string other that
>>> repeating || over and over. Any [a..z] or [0..9] option?
>>>
>>> Many thanks,
>>> -
my @letters = ;
if $x.contains(any @letters) {
...
> On 10 Dec 2023, at 21:36, ToddAndMargo via perl6-users
> wrote:
>
> Hi All,
>
> my Str $x="abc3defg"; if $x.contains( "a" || "b" || "3" ) { print "True\n";
> } else { print "False\n" };
> True
>
> Is there a way to tell .contains that yo
> On 28 Nov 2023, at 20:33, Parrot Raiser <1parr...@gmail.com> wrote:
>
> In https://youtu.be/L2jnRk2GYwg?si=ffds1MWsyZaB09HR Cassie talks about
> creating a language for prompting AI bots. Isn't creating specialised DSs a
> Raku strong point?
Anton Antonov is on that!
https://rakuforpredicti
> On 2 Feb 2023, at 21:11, Ralph Mellor wrote:
> My internet is flakey when humidity is around 80%+ and the weather
> forecast suggests it may be but with luck I'll be "there" 5pm UK time
> (noon EST, 9am US west coast time) Saturday Feb 11.
If you switch off your camera, you will reduce the need
> On 2 Feb 2023, at 07:10, Bruce Gray wrote:
> Also, like Zoom and many other video conferencing services, Jitsi allows you
> to call a phone number, to listen and speak (audio-only) on in the video
> meeting room:
But if you have internet, you can also participate with audio-only in Jitsi.
S
> On 2 Feb 2023, at 00:53, Ralph Mellor wrote:
> I looked at Jitsi when vrurg suggested it for their Core class.
> It required an international phone call.
??? I've never had to make *any* phone call to be able to use Jitsi. And the
RSC uses it every 2 weeks or so.
Liz
lines.contains... is really short for: lines.Str.contains...
Do you then understand what's going on?
> On 28 Jan 2023, at 21:41, William Michels via perl6-users
> wrote:
>
> Some more examples:
>
> ~$ raku -e 'put "1\n2\n3";' | raku -e 'lines.contains(/ \h /).put;'
> True
> ~$ raku -e 'put
> implemented in details, but most likely the regex is processed inside the
> sequence iterator which owns the $/ used by the regex eventually.
>
> Best regards,
> Vadim Belman
>
>> On Dec 28, 2022, at 12:49 PM, Elizabeth Mattijsen wrote:
>>
>> That's
lliam Michels wrote:
>
> Doesn't it have to? At least for the following case?
>
> [0] > #REPL
> Nil
> [0] > say $/.Str if 9 ~~ /9/;
> 9
>
> Best regards. --B
>
> On Wed, Dec 28, 2022, 09:49 Elizabeth Mattijsen wrote:
> That's because i
t; The * ~~ "trick" sets $/ in these cases too.
>
>
> On Wed, Dec 28, 2022 at 12:01 PM Elizabeth Mattijsen wrote:
> This isn't specific to the REPL:
>
> $ raku -e 'say 1 ... /9/; say $/'
> (1 2 3 4 5 6 7 8 9)
> Nil
>
> I can only assume t
This isn't specific to the REPL:
$ raku -e 'say 1 ... /9/; say $/'
(1 2 3 4 5 6 7 8 9)
Nil
I can only assume that the sequence has its own scope for $/, and thus isn't
visible outside of it.
Liz
> On 28 Dec 2022, at 16:47, Sean McAfee wrote:
>
> In a fresh 2022.12 Raku REPL, when the endpoi
Perhaps it would make sense to export these to a separate Gnome::Constants
module?
> On 29 Nov 2022, at 15:05, Marcel Timmerman wrote:
>
> On 29-11-2022 10:13, Francis Grizzly Smit wrote:
>
> Hi Francis,
>>
>> Personally I never use \name are I hate how it looks, and so far I have
>> never n
> Which brings me back to the other of my criticisms
> of the documentation. The examples are high level
> users showing off their skills making for a totally
> useless example for beginners. They should show a
> simple example and then work up to the show off stuff.
On that note, OOC, what do
quot;'
>>> a\\\b\\\c\\\d
>>>
>>>
>>> But this does not:
>>>
>>> $ echo "a/b/c/d" | raku -ne 'my $x=$_; $x~~s:g|$(Q[/])|Q[\\\]|;print $x ~
>>> "\n"'
>>> aQ[\]bQ[\]cQ[\]d
>>>
>>
$ echo "a/b/c/d" | raku -ne 'say .subst("/", Q/\\\/, :g)'
> On 29 Oct 2022, at 22:02, ToddAndMargo via perl6-users
> wrote:
>
> Hi All,
>
> I am trying to change
>
> /
>
> into
>
> \\\
>
> This works:
>
>
> $ echo "a/b/c/d" | raku -ne 'my $x=$_; $x~~s:g|$(Q[/])|\\|;print $x ~
> On 14 Oct 2022, at 22:23, Joseph Polanik wrote:
>
> On 10/14/22 4:15 PM, Elizabeth Mattijsen wrote:
>
>> The script Run/run_SequenceHelper.raku contains only the following lines
>>> use lib '~/Documents/myRaku/gitHub/SequenceHelper/lib';
>>> us
> On 14 Oct 2022, at 22:05, Joseph Polanik wrote:
>
> On 10/14/22 3:38 PM, Elizabeth Mattijsen wrote:
>>> On 14 Oct 2022, at 21:15, Joseph Polanik wrote:
>>> Actually, I did create a factorial() sub, but that didn't get me out of my
>>> prese
> On 14 Oct 2022, at 21:15, Joseph Polanik wrote:
> Actually, I did create a factorial() sub, but that didn't get me out of my
> present predicament. It works as expected when invoked from the command line.
> However, when invoked from a test script (or the REPL) the error message is
> "Undecla
> On 14 Oct 2022, at 20:35, Joseph Polanik wrote:
> Each of these results is correct. So, the problem remains that some subs are
> not found when invoked either from a test script or from the REPL.
>
> Is there some cache that I must clear when changing a .rakumod file to
> prevent my system fr
I cannot reproduce:
% cat lib/A.rakumod
sub postfix: ($n) is export {
when $n == 0 {return 1}
default {$n * ($n - 1)!}
}
% raku -e 'use lib "lib"; use A; say 42!'
14050061177528798985431426062445115699363840
% raku -v
Welcome to Rakudo™ v2022.07-64-gce1af0fa0.
Implementing the Rak
Are there any in Perl? If so, maybe you can use them with Inline::Perl5 ?
> On 8 Oct 2022, at 22:20, rir wrote:
>
> Are there any Raku modules for extracting meta-data from
> JPEG files? I have looked but not found.
>
> At this point, I just want to extract dates to re-timestamp
> the files.
a native unsigned integer"). It looks like this
> somewhat old but unaddressed open issue:
> https://github.com/niner/Inline-Python/issues/44. There was a suggestion to
> add --force-test to override. I tried that and returned to the previous
> status quo: empty array, "insta
mention, this is on a somewhat old version of Raku, 2021.04. But
> then, Inline::Python seems to be mostly even older.
>
>
> On Fri, Sep 9, 2022 at 11:35 AM Elizabeth Mattijsen wrote:
> To rule out any REPL artefacts, do you see the same thing if you put the code
> in a script a
To rule out any REPL artefacts, do you see the same thing if you put the code
in a script and run the script?
> On 9 Sep 2022, at 20:17, Sean McAfee wrote:
>
> Hello--
>
> I recently started playing around with PySpark. It soon occurred to me that
> it would be a lot more fun to work in Raku
.
>
> The guys on the chat line said this is normal
> as `BEGIN` runs a compile time
How short *is* your memory?
> From: Elizabeth Mattijsen
> Subject: Re: BEGIN {} question
> Date: 29 August 2022 at 09:44:30 CEST
> To: ToddAndMargo via perl6-users
>
>> Question, wo
> Since you wrote both Perl 5 and Perl 6, is there some
> reason beyond my limited understanding of how these
> things work as to why your Perl 5 is so much faster to
> compile that your Perl 6?
You clearly understand the situation!
What can I say?
Ah, I know. *PLONK*
Liz
> Question, would BEGIN go at the top or the bottom
> of my code? Seems the compiler would hit it first
> at the top, but I do not know if it makes a full
> pass of everything before firing off the BEGIN.
BEGIN runs at *compile* time.
This means that anything before the BEGIN statement in the co
> On 9 Aug 2022, at 15:10, Fernando Santagata wrote:
>
> On Tue, Aug 9, 2022 at 2:13 PM Elizabeth Mattijsen wrote:
> > On 9 Aug 2022, at 13:53, Fernando Santagata
> > wrote:
> >
> > Hello,
> >
> > I'm trying to uninstall old versions of
> On 9 Aug 2022, at 13:53, Fernando Santagata wrote:
>
> Hello,
>
> I'm trying to uninstall old versions of some modules; it looks like it's
> working but in reality it isn't. For example, but it's not limited to just
> this module:
>
> $ zef list --installed|grep CBOR
> ===> Found via /opt/r
Good chance it will if:
a. that works in plain Perl
b. you have Inline::Perl5 installed
c. you do "use Net::FTP:from"
d. you change -> to .
> On 9 Aug 2022, at 11:46, ToddAndMargo via perl6-users
> wrote:
>
> On 8/9/22 00:56, Elizabeth Mattijsen wrote:
&g
gt;>>CompUnit::Repository::NQP<63797000>
>>>CompUnit::Repository::Perl5<63797040>
>>> at -e:1
>>>
>>>
>>> Why are we looking in perl 5?
>
>
> On 8/8/22 23:52, Elizabeth Mattijsen wrote:
> > So that you can tran
So that you can transparently say "use DBI:from"
> On 9 Aug 2022, at 06:19, ToddAndMargo via perl6-users
> wrote:
>
> $ raku -Msigpipe -e 'loop { say "y"}' | sed 3q
> ===SORRY!=== Error while compiling -e
> Could not find sigpipe in:
>/home/tony/.raku
>/opt/rakudo-pkg/share/perl6/site
>
> On 4 Aug 2022, at 14:38, Marc Chantreux wrote:
> It would be nice to define a backtrick operator (like in rc) so we
> could write
>
> my @installed-files =
> grep *.IO.f,
> map *.trim,
> `< dpkg-query -f ${db-fsys:Files} -W gnuplot* >;
>
> insead
> On 4 Aug 2022, at 10:35, Marc Chantreux wrote:
>
> hello people,
>
> I found myself choosing between
>
> raku -e '
> (run :out, <
> dpkg-query -f ${db-fsys:Files} -W gnuplot*
> > ).out>>.lines>>.trim>>.grep(*.IO.f)>>.say'
>
> and
>
> raku -e '
> qx<
>
> On 19 Jul 2022, at 20:49, ToddAndMargo via perl6-users
> wrote:
> As an aside, Raku still reads my Perl 5 ".pm"
> modules before reading my Raku ".pm6" modules.
> Raku default to ".pm" before ".pm6". The
> compiler wags its finger at me a lot!
>
> So I have to segregate my ".pm6" modules
> in
That is correct.
> On 12 Jul 2022, at 03:52, Darren Duncan wrote:
>
> 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
> b
Ah, indeed I did. Using App::Mi6 is so ingrained in me (and before that
"cpan-upload"), that it is hard for me to imagine any other situation :-)
Liz
> On 10 Jul 2022, at 21:41, Vadim Belman wrote:
>
> Hi,
>
> Liz has probably missed the point of your question. Yes, you must do fez
> uplo
> On 10 Jul 2022, at 17:38, Richard Hainsworth wrote:
> I have begun uploading modules to fez.
Good to hear!
If that is a module that was on the p6c ecosystem before, please let me know,
so that we can remove it from the p6c ecosystem.
> Suppose a module is in active development. And I have v
> On 10 Jun 2022, at 23:28, ToddAndMargo via perl6-users
> wrote:
>
>>> On Fri, 10 Jun 2022 at 15:49, ToddAndMargo via perl6-users
>>> mailto:perl6-us...@perl.org>> wrote:
>>>Hi All,
>>>I am looking for an easier way to load a buffer.
>>>I know about this way
>>>[4] > my Buf
> On 10 Jun 2022, at 22:47, ToddAndMargo via perl6-users
> wrote:
>
>>> On Fri, 10 Jun 2022 at 15:49, ToddAndMargo via perl6-users
>>> mailto:perl6-us...@perl.org>> wrote:
>>>Hi All,
>>>I am looking for an easier way to load a buffer.
>>>I know about this way
>>>[4] > my Buf
I can think of ways to do this, but it would
>>> require separate variable and conversions routines
>>> back and forth.
>>>
>>> Any words of Raku wisdom?
>>>
>>> Many thanks,
>>> -T
>
> On 6/10/22 01:23, Elizabeth Mattijsen wrote:
>&
Perhaps https://raku.land/zef:raku-community-modules/Pythonic::Str is what
you're after?
> On 10 Jun 2022, at 07:54, ToddAndMargo via perl6-users
> wrote:
>
> Hi All,
>
> I can easily get away with this in Modula2, but
> how can I do this with Raku?
>
> I wish to create a single variable th
Fixed with
https://github.com/rakudo/rakudo/commit/5658f4da07b44d492a3d35d57fa76939822d2c66
Thanks for the report!
> On 7 Apr 2022, at 11:28, David Emanuel da Costa Santiago
> wrote:
>
>
> Thanks for the information!
>
> I opened a bug in rakudo:
>
> https://github.com/rakudo/rakudo/issues
It is being tested in Roast, so I'd say it's not really that experimental
anymore :-)
> On 11 Feb 2022, at 15:20, Marcel Timmerman wrote:
>
> Hi,
>
> I stumbled over a discussion between Raku developers on
> "Raku/proplem-solving" issue 227 "Coercion reconsidered and unified" and I
> saw so
> On 10 Feb 2022, at 11:10, ToddAndMargo via perl6-users
> wrote:
> That is an interesting module. I am not sure what
> I would use it for though. Maybe in the future.
> It is a method of find out what a drive is.
>
> What I was after was finding the drive letter that
> corresponded to a logic
> So I was really hoping for a built in system32 call.
> I really, really don't care for the the trouble
> associated with using the "C" interface to call
> system 32 dll's, but I may have to.
One of the things that Raku tries to do, is to be ignorant about the underlying
OS.
Having a system32 D
What would you use on a command-line to get that information?
Then look at https://docs.raku.org/routine/run
Liz
> On 9 Feb 2022, at 12:37, ToddAndMargo via perl6-users
> wrote:
>
> Hi All,
>
> Windows 7,10,11
>
> Do we have a command/function that will show all drive
> letter and their lab
Maybe first explain why the error:
When you specify a Pair as such as an argument, it is interpreted as a *named*
argument.
$ raku -e 'sub a(|c) { dd c }; a b => 42'
\(:b(42))
So thus you can see why the error is thrown: you passed 0 positional arguments
to the subroutine, and it neve
If you're looking for Perl, you're probably on the wrong mailing list: I
suggest you try "perl.beginners".
> On 1 Jan 2022, at 10:42, Turritopsis Dohrnii Teo En Ming
> wrote:
>
> Subject: Should I start learning Perl?
>
> Good day from Singapore,
>
> I am thinking of learning Perl. May I kno
+1 from me. Shouldn't that be a .rakudoc file ? :-)
> On 30 Dec 2021, at 12:20, Richard Hainsworth wrote:
>
> I'm revising how I name files that are included in my modules. With the name
> change to Raku, the file extensions also changed for script and module files.
>
> In addition Jonathan
Personally, I don't add it anywhere anymore. Especially in files with the
.raku, .rakumod and .rakutest extensions :-)
> On 28 Dec 2021, at 17:59, Marc Chantreux wrote:
>
> hello people,
>
> long time ago, there was this 'use v6' line so perl should be v6 and
> still run v5.* things.
>
> I j
Planned are:
- more optimizations based on new-disp
- the RakuAST branch will land, bringing better composability and full-blown
macros
- the next language version will be released: probably called "6.e"
Non-core developments I see:
- support for Raku Ecosystem Archive integrated into zef
- IRC
> On 13 Dec 2021, at 05:23, rir wrote:
>
>
> REPL says:
>> Date.new("2024-02-29").later( :1year);
>2025-02-28
>
> Is the following some standard?
I'm not sure...
Basically when moving by month / year, it just basically moves that field in
the date, and then checks for validity of the res
I suggest making this a problem-solving issue:
https://github.com/raku/problem-solving
> On 11 Dec 2021, at 05:48, Timothy Nelson wrote:
>
> Hi all.
>
> I've been lurking on this list for years (and once won an "oldest resurrected
> conversation" award). I've loved Raku conceptually since
:30, rir wrote:
>
> Wow, that was a surprise. Thanks.
>
> But I was on this path:
>
>class Not-really-real {
>has Real $value handles &infix:<=>;
>}
>
> Rob
>
>
> On Fri, Nov 26, 2021 at 03:15:32PM +0100, Elizabeth Matt
You mean like:
say &infix:<+>(has 42,137); # 179
?? If so, by referring to its full name :-)
> On 26 Nov 2021, at 15:07, rir wrote:
>
> Is it possible to to delegate plain or overridden operators? If so,
> what does the syntax look like?
>
> Rob
If this pull request is merged:
https://github.com/rakudo/rakudo/pull/4620
you will get a deprecation notice at the end of your program of the locations
in your code that need changing.
Liz
> On 5 Nov 2021, at 19:54, Joseph Brenner wrote:
>
> Yes, this feels like natural Raku code to a lo
Perhaps Think Raku: https://greenteapress.com/wp/think-perl-6/ ?
> On 29 Sep 2021, at 14:18, Walt CH wrote:
>
> I have some ruby programming experience, and some JS.
> can you suggest a book for newbie of perl6?
>
> Thanks
> On 21 Aug 2021, at 20:03, Joseph Brenner wrote:
>
> Given and example like this:
>
> class A {}
> class B is A {}
> class D is B {}
>
> say D.^parents(); # ((B) (A))
> say D.^parents( :all ); # ((B) (A) (Any) (Mu))
>
> So, I conclude that Any and Mu are "hidden" as far as ^parents is co
f deprecated code
>>>> adapted, so that this message will disappear!
>>>> 148: ( $ReturnStr, $ReturnErr, $RtnCode ) = RunNoShellAll( $RunString,
>>>> True, False, True );
>>>> Confused,
>>>> -T
>
>
>>> On 27
Read the error message!
"/home/linuxutil/p6lib/RunNoShellLib.pm6 (RunNoShellLib), line 148"
What does that line say?
> On 27 Jul 2021, at 02:29, ToddAndMargo via perl6-users
> wrote:
>
> On 7/26/21 5:21 PM, ToddAndMargo via perl6-users wrote:
>> Hi All,
>> $ raku -v
>> Welcome to 𝐑𝐚𝐤𝐮𝐝𝐨™ v202
> On 19 Jul 2021, at 05:49, Peter Scott wrote:
>
> I'm curious as to why Rat.new initializes instead of leaving as undefined:
>
> > $*RAKU
> Raku (6.d)
> > my Rat $p
> (Rat)
> > put $p
> Use of uninitialized value $p of type Rat in string context.
> Methods .^name, .raku, .gist, or .say can be u
> On 13 Jul 2021, at 19:07, Joseph Brenner wrote:
> Bruce Gray points out "constant" works also:
>
> constant $lib_loc = $*PROGRAM.parent.add('../lib');
Yup.
constant $foo = 42;
is basically short for:
BEGIN my $foo := 42
> On 12 Jul 2021, at 00:54, ToddAndMargo via perl6-users
> wrote:
> I want the full stinkin' path, not a dot.
".".IO.full-stinkin-path;
ah, no, that should be:
".".IO.absolute
> On 11 Jul 2021, at 01:11, Joseph Brenner wrote:
>
> I want my test files to be able to find the modules they're testing
> just using their relative locations, given the usual layout of "lib"
> and "t" locations in parallel inside the project directory.
>
> I find that while this works:
>
>
my $x = UupDumpClass.new;
> On 4 Jul 2021, at 12:36, ToddAndMargo via perl6-users
> wrote:
>
> Hi All,
>
> What I am doing wrong here?
>
> > class UupDumpClass { has @.arry is rw; }
> (UupDumpClass)
>
> > my $x = UupDumpClass;
> (UupDumpClass)
>
> > $x.arry[0] = "zero";
> Cannot look up att
> On 9 Jun 2021, at 12:48, Marc Chantreux wrote:
>
> hello,
>
> I just saw this and it's very good
>
> https://www.youtube.com/watch?v=elalwvfmYgk
>
> The features he picked are indeed things i really like in raku
> and i learned some interesting details. Other details are still
> bugging me s
> On 9 Jun 2021, at 06:34, Paul Procacci wrote:
>
> Hopefully a pretty quick question
>
> GIven the following:
>
> my Buf $b .= new([72, 105, 0, 32, 97, 103, 97, 105, 110, 0]);
> say $b.decode;
>
> I would expect this to print 'Hi'.
> Instead it prints 'Hi again'.
>
> https://docs.raku.or
[16:37:23] i'm not subscribed to the mailing list but maybe
someone who is could chime in to this thread
https://www.nntp.perl.org/group/perl.perl6.users/2021/04/msg9878.html and
mention that i believe the problem is in libtommath's mp_get_double and the gmp
branch fixes it?
> On 14 Apr 2021
> On 17 Mar 2021, at 22:02, Richard Hainsworth wrote:
>
> After working at this, I finally found where it was happening, and a
> work-around.
>
> I was checking all 517 http/s links in the documentation to see whether they
> are all live (not 404 and host found). For this I was using LibCurl::
1 - 100 of 1039 matches
Mail list logo