Personally, I always do:
perl Configure.pl --gen-moar --gen-nqp --make-install
> On 14 May 2020, at 22:08, Joseph Brenner wrote:
>
> I'm having trouble doing a build of raku from github. Could it
> be the INSTALL.txt file is out-of-date?
>
> I was trying to build a "bleeding edge" Raku us
There will never be a Perl 6 version.
> On 15 May 2020, at 19:33, ToddAndMargo via perl6-users
> wrote:
>
> On 2020-05-15 01:43, Shlomi Fish wrote:
>> Hi Todd!
>> On Fri, 15 May 2020 00:26:28 -0700
>> ToddAndMargo via perl6-users wrote:
>>> On 2020-05-14 23:57, Shlomi Fish wrote:
The INI
There might be a Raku version
> On 15 May 2020, at 20:08, ToddAndMargo via perl6-users
> wrote:
>
> On 2020-05-15 10:37, Elizabeth Mattijsen wrote:
>> There will never be a Perl 6 version.
>
>
> what would you use in place of it?
[11:50:21] you don.t need the .Bool, .e already returns a Bool
[11:53:07]sometimes IO.someletter returns True of Fail,
not False. Tacking .Bool on the end, means I don't have to remember which ones
[11:57:23]True or Fail. Typo
[11:58:21] A Failure is always false
[12:03
dd .sort: { m/ \d+ $/ }
> On 24 May 2020, at 10:43, ToddAndMargo via perl6-users
> wrote:
>
> Hi All,
>
> https://docs.raku.org/routine/sort
>
> I need help sorting a list.
>
> This is the list of values I want to sort:
>
> H:\MyDocsBackup\backup1
> H:\MyDocsBackup\backup2
> H:\MyDocsBackup
t;>> This is what I want back:
>>>
>>> H:\MyDocsBackup\backup1
>>> H:\MyDocsBackup\backup2
>>> H:\MyDocsBackup\backup3
>>> H:\MyDocsBackup\backup6
>>> H:\MyDocsBackup\backup33
>>> H:\MyDocsBackup\backup126
>>>
>>&g
I won't understand because I cannot learn to read, so I want everybody to adapt
to me so that I can enforce my understanding to you
> On 31 May 2020, at 20:40, Richard Hainsworth wrote:
>
> Probably more like: I won't understand if I don't read.
>
> On 31/05/2020 18:43, ToddAndMargo via perl6-
It is my understanding that rakudobrew has been renamed to rakubrew:
https://rakubrew.org Could the be the issue?
> On 12 Jun 2020, at 14:59, Richard Hainsworth wrote:
>
> I ran into this error using Rakudobrew on appveyor (see after )
>
> I'm new at using appveyor, so maybe my script is wron
Shorter, and much more readable, I'd say:
my Blob $blob = blob-from-carray($ed.data, size=>$ed.data_size);
say "bindata = { now - INIT now }";
The term "now" is short for "DateTime.now.Instant"
The INIT phaser is run when the program is started: it returns the value that
was obtained f
BEGIN trait_mod:(&any, :tighter(&infix:<*>));
comes to mind, but that doesn't seem to do the trick.
> On 22 Jun 2020, at 21:11, Tobias Boege wrote:
>
> On Mon, 22 Jun 2020, Joseph Brenner wrote:
>> Patrick R. Michaud wrote:
>>
>>> The "any" function is just like any other function taking an a
Yes. Sadly we don't have a procedure for that in place yet :-(
> On 4 Jul 2020, at 21:07, Parrot Raiser <1parr...@gmail.com> wrote:
>
> I just happened to look at the raku.org and raskudo.org download
> pages, and noticed that both quote 2020.01 as the most recent
> versions.
>
> Patrick Spek'
> On 10 Jul 2020, at 23:37, Brad Gilbert wrote:
> I honestly think that there is an argument to be made that it shouldn't even
> be possible to write a `subset` without a `where` clause.
Making the "where" clause non-optional, is remarkably simple: removing a '?'
However, there appear to be qui
Larry,
good to see you here!
Of course, I have some comments on your suggestions :-)
> On 22 Jul 2020, at 21:14, Larry Wall wrote:
>> Trick #5: -a
>>
>> -a turns on autosplit mode – perl will automatically split input
>> lines on whitespace into the @F array. If you ever run in
$ time raku -e ''
real0m0.120s
user0m0.111s
sys 0m0.022s
Doesn't take 10 seconds for me.
> On 31 Jul 2020, at 03:45, ToddAndMargo via perl6-users
> wrote:
>
> Hi All,
>
> Any sign of a fix for the 10 second compile time?
>
> Do you know if a bug has been opened on it so I can
>
https://www.codesections.com/blog/raku-unicode/
> On 24 Sep 2020, at 20:00, Joseph Brenner wrote:
>
> I'm not sure myself, but my first guess would be probably not...I
> *think* Raku is doing it's own Unicode thing, and isn't using any
> system ICU libraries (but I'm willing to stand corrected
Feels like a regression worthy of a Rakudo issue
> On 24 Sep 2020, at 20:26, Fernando Santagata
> wrote:
>
> Hello,
>
> Since I upgraded to the last Rakudo I'am having a weird problem. I have a
> module like this:
>
> unit class Class1;
> etc.
>
> Then a second module:
>
> unit class Class
> On 25 Sep 2020, at 04:25, Brad Gilbert wrote:
> Rakudo does not use ICU
>
> It used to though.
>
> Rakudo used to run on Parrot.
> Parrot used ICU for its Unicode features.
Ah, the days.
I do remember that in the Parrot days, any non-ASCII character in any string,
would have a significant n
> On 26 Oct 2020, at 18:40, Sean McAfee wrote:
> Is this the intended behavior? The doc page on quoting constructs just says
> that values can be interpolated with braces, but (at least to my eyes)
> doesn't suggest that this involves creating a new scope, or a new function,
> or however it is
$ raku -e 'dd "g".parse-base(17)'
16
> On 30 Oct 2020, at 21:25, Sean McAfee wrote:
>
> I want to construct a number from its digits in some arbitrary base. That
> is, to essentially do the inverse of this kind of polymod call:
>
> my @digits = $number.polymod($base xx *);
>
> I have a n
> On 30 Oct 2020, at 22:11, Sean McAfee wrote:
>
> Sorry, it seems I wasn't explicit enough.
>
> With polymod, I can get the values of digits even in large bases like 101:
>
> > 1234567890.polymod(101 xx *)
> (46 20 26 87 11)
>
> Given a list of digit values like that, and the base, I
This change of behaviour turned out to be a regression. This was fixed
reported in https://github.com/rakudo/rakudo/issues/4039 and fixed with
https://github.com/rakudo/rakudo/commit/3e10cc6f8a
> On 18 Nov 2020, at 18:46, William Michels via perl6-users
> wrote:
>
> user@mbook:~$ raku
> Welc
Nil is really a Failure that doesn't throw. It indicates the absence of a
value where there is one expected.
That is why Nil doesn't throw. If you want to indicate a soft failure, you
should use fail().
If the chain of methods you mention are core methods, and one of them is
returning Nil, t
> On 24 Dec 2020, at 03:55, Matthias Peng wrote:
> May I ask if there is any practical perl6 project running? For example,
> homebrew by ruby, k8s by go, flask by python etc.
https://raku-advent.blog/2020/12/20/day-20-a-raku-in-the-wild/ looks like a
practical project to me.
❤️
> On 28 Dec 2020, at 13:54, Richard Hainsworth wrote:
>
> Todd,
>
> Some of what you have said in this email list over the years has been very
> valuable. You ask questions that get some very illuminating answers. I wrote
> a Module just for you (although I' still trying to get it to work
gt; When one goes to make a fix, and the fixer is broken, it's a bit
> recursive. Can anyone cure problem #1, so I can get to step #2? :-)*
>
> On 12/28/20, Elizabeth Mattijsen wrote:
>> ❤️
>>
>>> On 28 Dec 2020, at 13:54, Richard Hainsworth
>>> wrote
Using an `await` inside a react, feels like a code smell to me. An `await`
will block the `react` block from processing other messages until the `await`
returns. Which feels like it is opening up a large window of dead-locking
opportunities.
Couldn't a whenever be used there instead?
> On 29
Thank you for the compliment. But I was merely channeling Jonathan
Worthington... :-)
> On 30 Dec 2020, at 14:43, Gianni Ceccarelli wrote:
>
> Liz is, as usual, correct: there's no reason to wait until our write
> buffers are flushed (``await $conn.print``) before ``react``ing to
> what's in
If those are the only lines in your program, the program will have exited
before the sleep in the start has actually passed. If you change the program
to:
start { sleep 1; say "done"; exit }
say "working";
sleep;
you should also see the "done".
> On 5 Jan 2021, at 14:15, Theo van
Agree.
That's why I did https://github.com/rakudo/rakudo/commit/d53a927331 earlier
today.
> On 11 Jan 2021, at 18:36, Richard Hainsworth wrote:
>
> I want to test for a key being defined in one hash, and if it is, then it
> should be a hash, and I need the value of that second key.
>
> So I
See also: https://log.perl.org/2021/01/perlcom-hijacked.html
The site is currently hosted at https://perldotcom.perl.org
> On 30 Jan 2021, at 00:07, Earl Ruby wrote:
>
> A glance at the domain records show the contact information is now "REDACTED
> FOR PRIVACY". Prior to the change Tom Christi
> On 5 Feb 2021, at 15:49, Theo van den Heuvel wrote:
> I cannot seem to find an idiomatic way to get the dimensions of a
> multidimensional array,
> other than by looking at the size of the first row and column, with
> @m[0;*].elems and @m[*;0].elems.
> Am I missing something in the docs?
If i
$ raku -e 'class samesame { hello samesame, { say "Wosup?" } }'
===SORRY!=== Error while compiling -e
Undeclared routine:
hello used at line 1. Did you mean 'shell'?
Are you missing a comma there? Did you intend to call the "hello" subroutine,
with "samesame" and the block as parameters?
If
> On 7 Mar 2021, at 00:16, Joseph Brenner wrote:
>
> Is there anything like an equivalent of "man perlguts" for Raku/rakudo?
>
> There are things like this, but they seem to be very out-of-date:
>
> https://github.com/rakudo/rakudo/blob/master/docs/architecture.html
That is indeed severely ou
> On 16 Mar 2021, at 04:22, Matthew Stuckwisch wrote:
>
> So here's my 2¢, which will probably be followed up with some actual
> development of stuff (I do put my money where my mouth is… although it might
> take me a while to save up to spend it ha). Some of the minor details could,
> of cou
> On 17 Mar 2021, at 18:45, Richard Hainsworth wrote:
>
> I have been running into this error: "Too many open files"
>
> Sorry for the lack of detail. The problem is that the error comes up in odd
> places, so I have found it difficult to golf down into Raku program that
> always fails with th
> 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::
[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 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
> 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
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 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:
>
>
> 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 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 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
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
f deprecated code
>>>> adapted, so that this message will disappear!
>>>> 148: ( $ReturnStr, $ReturnErr, $RtnCode ) = RunNoShellAll( $RunString,
>>>> True, False, True );
>>>> Confused,
>>>> -T
>
>
>>> On 27
> 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
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
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
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
: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
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
> 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
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
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
+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
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
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
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
> 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
> 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
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
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
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
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:
>&
> 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-users@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 23:28, ToddAndMargo via perl6-users
> wrote:
>
>>> On Fri, 10 Jun 2022 at 15:49, ToddAndMargo via perl6-users
>>> mailto:perl6-users@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 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
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
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
> 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
> 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 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
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
>
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
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
> 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
> 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
> 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
> 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
.
>
> 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
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
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
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
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.
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
> 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
> 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 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 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
$ 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 ~
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
>>>
>>
> 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
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
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
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
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
> 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
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
> 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
1 - 100 of 373 matches
Mail list logo