/
[²] https://github.com/bscan/RakuNavigator
--
Fernando Santagata
>
> as example. I would like
>
> 1..10 ==> map * * 2 ==> say
>
> to be a joyful version of
>
> (1..10).map(* * 2).say
>
> regards
>
> --
> Marc Chantreux
> Pôle CESAR (Calcul et services avancés à la recherche)
> Université de Strasbourg
> 14 rue René Descartes,
> BP 80010, 67084 STRASBOURG CEDEX
> 03.68.85.60.79
>
>
--
Fernando Santagata
discussion in the Raku/Problem-solvers discussion
> about the subject.
>
> The idea is to brain storm about where to go with Raku marketing / PR /
> branding. So if you have some ideas / point of view, please contribute.
>
> Regards,
>
> Richard, aka finanalyst
>
>
--
Fernando Santagata
undefine};
>
> [$a, @a, $b, %c, $c, &d].map(
> { $_ = $_ ~~ (Associative,Positional).any ?? Empty !! Nil });
>
--
Fernando Santagata
und.
>
> At this point, I just want to extract dates to re-timestamp
> the files. Later, I might use the fix in the pictures to
> map to personally defined places.
>
> Rob
>
>
>
>
>
>
>
--
Fernando Santagata
> /var/log/messages
>
> thank you
>
> --
> Marc Chantreux
> Pôle de Calcul et Services Avancés à la Recherche (CESAR)
> http://annuaire.unistra.fr/p/20200
>
--
Fernando Santagata
Hi Vadim,
Thank you!
I opened issue #5049.
On Sun, Aug 28, 2022 at 12:56 AM Vadim Belman wrote:
>
> Looks like it worth a bug report. I was probably stumbling upon this too
> for a couple of times.
>
> Best regards,
> Vadim Belman
>
> > On Aug 27, 2022, at
ier while
"if" works both ways.
Is this a known behavior with well understood reasons, or should I open an
issue?
--
Fernando Santagata
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 some modules; it looks like it's
> working but in reality it isn'
ef --version
v0.13.8
It started when I was using Rakudo v2022.06, but I hoped that upgrading to
the next version would solve the problem. Alas, no luck.
All I can say is that when I install a new Rakudo version I always run
cleanup-precomp . I don't know whether this might alter the local zef DB so
that I can't uninstall modules anymore.
Has anyone had the same problem?
--
Fernando Santagata
gtracker: https://github.com/finanalyst/raku-pod-render/issues
> # email:richard@hainsworth.wales
> Depends: 14 items
>
>
> Furthermore, another user raised an issue in the github repo of
> Raku::Pod::Render and seems to have had the same problem installing
> Raku::Pod::Render
>
> The Raku::Pod::Render:ver<3.7.3> has an error in it, which I fixed. But
> now the Ecosystem appears to be acting inconsistently.
>
--
Fernando Santagata
t;
>> Is there a preferred / rapid way to handle Raku modules?
>>
>> Regards,
>>
>> Richard
>>
>>
>
> --
> Fernando Santagata
>
>
--
Fernando Santagata
distributions.
>
> Also a .circleci file exists in the Raku Docs repo.
>
> Is there a preferred / recommended / list of continuous testing
> environments?
>
> Is there a preferred / rapid way to handle Raku modules?
>
> Regards,
>
> Richard
>
>
--
Fernando Santagata
hat said but Julia's approach - LLVM based JIT from scripting, is not
>> affordable by us, we have no expertise in machine code generation, even the
>> simpler IR manipulation.
>>
>> Also debuggability in the native code part is crucial, C++ served us well
>> in this regard, VSCode etc. can attach to a Python process and set
>> breakpoints on the C++ code, then step through the suspicious code path.
>>
>> Haskell is far from on par w.r.t. stepping debuggers, but bugs are
>> interestingly less with it, for unutterable reasons.
>>
>> Best regards,
>> Compl
>>
>>
>
> --
> Simon Proctor
> Cognoscite aliquid novum cotidie
>
> http://www.khanate.co.uk/
>
--
Fernando Santagata
preted as an array of two elements, each one is a list of four
elements: [(A B C D) (A B C D)]. When one binds, each array is bound to one
list.
--
Fernando Santagata
l6-users <
perl6-us...@perl.org> wrote:
> >> On Tue, Jul 6, 2021 at 9:39 AM ToddAndMargo via perl6-users
> >> I am confused.
> >>
> >> What I am after it pre-salting $CC.I with
> >> $CC.[0] = "abc"
> >> $CC.
oarVM version 2021.06.
> >
> > To exit type 'exit' or '^D'
> > > class AA { has Str @.I is rw; };
> > (AA)
> > > my $CC = AA.new( I => [Str,"abc"] );
> > AA.new(I => Array[Str].new(Str, "abc"))
> > > say $CC.I;
> > [(Str) abc]
> > > say $CC.I[1];
> > abc
> > > $CC.I[0] = "zyz";
> > zyz
> > > say $CC.I;
> > [zyz abc]
> > >
> >
>
> Hi Norman,
>
> I am confused.
>
> What I am after it pre-salting $CC.I with
> $CC.[0] = "abc"
> $CC.[1] = "def"
>
> with the ".new" functions when I create $CC
>
> -T
>
>
--
Fernando Santagata
;, 'c').raku.substr(3).EVAL.elems;
> arguably deserves _extra_ evil points for using the .EVAL method which,
> unlike the
> EVAL sub, doesn't even warn about how dangerous it is (even though it
> probably should).
>
--
Fernando Santagata
and shiny compiler ;)
> $*RAKU.compiler.version
v2021.04
> Month.keys
(oct dec aug jun mar apr feb nov jul may sep jan)
> Month.values
(11 6 9 2 5 7 3 12 8 4 10 1)
> .say for Month.kv
nov
11
jul
7
sep
9
jan
1
oct
10
mar
3
jun
6
apr
4
aug
8
dec
12
feb
2
may
5
--
Fernando Santagata
example
this interface to the interpolation section of the GNU Scientific Library
https://github.com/frithnanth/raku-Math-Libgsl-Interpolation/blob/master/lib/Math/Libgsl/Raw/Interpolation.rakumod
On Sun, May 2, 2021 at 1:30 PM sisyphus wrote:
> On Wed, Apr 28, 2021 at 5:38 PM Fernando Santagata <
>
> # Got:
> # 3602879701896397/36028797018963968
> # 3602879701896397/36028797018963968
> # 3602879701896397/36028797018963968
>
> =finish
> use Devel::Peek:from;
> # Shows that perl sees $n, $r1, and $r2
> # as being the double 0.1:
> Devel::Peek::Dump($n);
> Devel::Peek::Dump($r1);
> Devel::Peek::Dump($r2);
>
> --
>
> Cheers,
> Rob
>
--
Fernando Santagata
similar yourself:
>>sub infix:«\c[INVISIBLE TIMES]» { $^a × $^b }
>>
>> This would let you write `say 60÷5(7−5)` (with an invisible character
>> between the `5` and the `(` )
>> and get the expected result.
>>
>> Doing so would, of course, be a very ba
r rather
> similar arguments doesn't look good for me.
>
> Best regards,
> Vadim Belman
>
> On Jan 19, 2021, at 11:07 AM, Fernando Santagata <
> nando.santag...@gmail.com> wrote:
>
> Hello,
> I'm trying to understand how nextsame works.
>
> Apparently
e first multi (List) is expected from the second multi (which returns
an Int).
I don't know if this is the desired behavior; if so probably it deserves to
be documented.
--
Fernando Santagata
gt; T t;
>>
>> int main(void)
>> {
>> setTest(&t);
>> printf("%c\n%d\n", t.a[0], t.b);
>> _exit(0);
>> }
>>
>
> So the questions are:
>
> 1) How does one define an *inline* array of whatever size in Raku (size
> doesn't matter)
> 2) How does one retrieve the values stored in that defined array after the
> callee populates it.
>
> Thanks,
> ~Paul
>
> [1] - test.so is the shared object that I created for testing.
> --
> __
>
> :(){ :|:& };:
>
--
Fernando Santagata
= "";
>> my uint32 $CStrElems = $CStr.elems;
>> # say $CStrElems;
>>
>> loop (my $i = 0; $i < $CStrElems - 2 ; $i += 2) {
>>if $CStr[ $i ] == 0 && $CStr[ $i + 1 ] == 0 { last; }
>>
>>if $i == $CStrElems - 4 {
>> $Msg = "$SubName ERROR:" ~ " C Strings are required to be
>> terminated with a nul\n\n" ~
>> " Returning an empty string\n" ~
>> " Cowardly existing\n";
>> exit;
>>}
>>
>># print $CStr[ $i ] ~ "," ~ $CStr[ $i + 1 ] ~ ", ";
>>$RakuStr ~= chr( $CStr[ $i ] );
>> }
>> # say "";
>>
>> # say "$RakuStr";
>> return $RakuStr;
>> }
>>
>>
>>
>
> --
> __
>
> :(){ :|:& };:
>
--
Fernando Santagata
a perl6-users <
perl6-us...@perl.org> wrote:
> On 2020-11-14 13:39, Fernando Santagata wrote:
> > What do you mean by putting the \n in the variable?
>
> $ p6 'my @x = <>; for @x {"$_".print};'
> aaabbbccc
>
> Why are the \n's not be
?
Is it anything like this? [¹]
my @a = "1\n", "2\n", "3\n";
'test'.IO.spurt(@a);
or this?
my @a = ;
'test'.IO.spurt(@a »~» "\n");
[¹] Mind that the array is first converted into a string and its elements
are joined together with an interleaving space
--
Fernando Santagata
# join doesn't add the last "\n"
Or the equivalent
'test'.IO.spurt: @a.join("\n") ~ "\n";
--
Fernando Santagata
It seems that Rakudo 2020.09 solved the regression problem!
On Sat, Sep 26, 2020 at 10:01 AM Fernando Santagata <
nando.santag...@gmail.com> wrote:
> Thank you, I'll see if I can concoct a self-contained example in order to
> open an issue.
>
> On Thu, Sep 24, 2020, 20
Thank you, I'll see if I can concoct a self-contained example in order to
open an issue.
On Thu, Sep 24, 2020, 20:13 Elizabeth Mattijsen wrote:
> Feels like a regression worthy of a Rakudo issue
>
> > On 24 Sep 2020, at 20:26, Fernando Santagata
> wrote:
> >
> >
d fine using version 2020.07.
--
Fernando Santagata
it into README.md or .html files.
>
> Sorry for shameless ad
>
> On 02/09/2020 03:02, Vadim Belman wrote:
> > Unfortunately, neither rendered constraints nor image insertions are
> implemented yet. Or it is so up to my knowledge, at least. I miss these
> features too sometimes.
>
s there a way to restrict some text to just one renderer, or to insert a
figure or picture in a pod6 file?
--
Fernando Santagata
descriptors just to
> go through a directory or something, so tracking that down further could be
> interesting if that is the case.
>
> HTH
> - Timo
> On 01/08/2020 22:46, Fernando Santagata wrote:
>
> Hello,
>
> I found out that on my system at a certain point ze
020 at 10:46 PM Fernando Santagata <
nando.santag...@gmail.com> wrote:
> Hello,
>
> I found out that on my system at a certain point zef was unable to read
> the content of ~/.raku/short and because of that to install any other
> module.
> According to zef there were too many fil
to anyone else?
--
Fernando Santagata
right now DBIish fails to install, but I guess you know, since the
test on Travis-CI fails.)
--
Fernando Santagata
I got these ideas to start:
>
> The dataframe should support columns name to be called as:
>
> df.column1
>
> and it should return a list of values on this column.
> Also, when it read the delim file it should check each column type.
>
>
> All suggestions are welcome.
>
&g
could be the foundation for these
>> data frames.
>>
>
> Depending on your use of the GSL, as I recall the license restricts
> commercial use.
>
> Best regards,
>
> -Tom
>
--
Fernando Santagata
as not come yet, is because Chuck Norris keeps
> finding
> faults in God’s plan for his coming.
> — https://www.shlomifish.org/humour/bits/facts/Chuck-Norris/
>
> Please reply to list if it's a mailing list post - https://shlom.in/reply
> .
>
--
Fernando Santagata
out all the code in each method is what I already have. But I'm
> looking for ways to factor out common code.
>
> Regards
> On 29/06/2020 18:44, Fernando Santagata wrote:
>
> After deleting the spaces as suggested, there's a "Positional" too many.
> I gue
; { * }}
>> multi method handle(Str $s) {
>> $.value = $s;
>> say 'in string'}
>> multi method handle(Positional @s) {
>> $.value = @s[0];
>> say 'in positional'}
>> }
>> my NewClass $x .= new;
>> $x.handle('hello world');$x.handle();$x.debug =
>> True;$x.handle('hello world');$x.handle();
>>
>> #raku test.raku
>> #value is Initial value
>> #value is Initial value
>>
>> I am wondering how to use proto and {*}
>>
>>
--
Fernando Santagata
On Thu, Jun 25, 2020 at 8:10 PM Brad Gilbert wrote:
> {*} is specially handled by the compiler as a term.
>
Thank you!
I guess that handling is peculiar to proto, and maybe it's worth
documenting it.
--
Fernando Santagata
#x27;In' }
LEAVE { say 'Out' }
return { * }
}
it outputs:
In
Out
-> ;; $_? is raw = OUTER::<$_> { #`(Block|94038346387904) ... }
In
Out
-> ;; $_? is raw = OUTER::<$_> { #`(Block|94038346388120) ... }
Why are spaces significant in this case?
If this behavior is intentional, can this be a trap worth being documented?
--
Fernando Santagata
On Mon, Jun 8, 2020 at 2:11 PM ToddAndMargo via perl6-users <
perl6-us...@perl.org> wrote:
> On 2020-06-08 04:32, Fernando Santagata wrote:
> > On Mon, Jun 8, 2020 at 1:20 PM ToddAndMargo via perl6-users
> > mailto:perl6-us...@perl.org>> wrote:
> >
> >
On Mon, Jun 8, 2020 at 1:20 PM ToddAndMargo via perl6-users <
perl6-us...@perl.org> wrote:
> On 2020-06-08 03:38, Fernando Santagata wrote:
> > …and line 3:
> >
> > unit module Informative;
> >
>
>
> 3: unit module Informative;
>
> Does not look
finanalyst/p6-inform/blob/master/lib/Informative.pm6
>
> Line 144:
>
> method show(
> Str $str?,
> Int :$timer,
> Bool :$show-countdown
> ) {
>
> where is the class that is linked to that method?
>
> Many thanks,
> -T
>
>
--
Fernando Santagata
On Mon, Jun 8, 2020 at 10:15 AM ToddAndMargo via perl6-users <
perl6-us...@perl.org> wrote:
> On 2020-06-08 00:48, Fernando Santagata wrote:
> > On Mon, Jun 8, 2020 at 9:12 AM ToddAndMargo via perl6-users
> > mailto:perl6-us...@perl.org>> wrote:
> >
> > On
>
I think that that point has been stressed countless times: you probably
want a User Manual, not a Reference.
The online Reference is well written and it's what most people need. To
learn more about Raku please refer to the numerous books on the topic:
https://perl6book.com/
https:
ding the class thing" is.
Yet, I'm trying a mind-reading trick: when you say "method" perhaps you
mean a sub you can call using a method call syntax.
If that's the case, then one may write something like this:
sub f($x) { $x² }
6.&f; # output: 36
Did the trick work?
--
Fernando Santagata
On Fri, May 8, 2020 at 6:10 PM Fernando Santagata
wrote:
> raku -e'lines() ==> grep(/^WARN/) ==> sort() ==> reduce({$^a ~ "\n" ~
> $^b}) ==> say()' sample.log
>
and the reduce call can be written more compactly: reduce({"$^a\n$^b"})
--
Fernando Santagata
> shortened. Since one of your requirements is doing a sort on filtered
> > values stored in an array, I abandoned use of the "-ne" one-liner
> > flag, using "-e" and "for lines()" instead. I also used grep instead
> > of smart-matching:
> >
> > perl6 -e 'my @i; for lines() {if .grep(/^WARN/) -> ($s)
> > {@i.push($s)};}; .say for @i.sort;'
> >
> > Note: the "-> ($s)" section where I store grepped matches comes from a
> > Jonathan Worthington answer found here (thanks Jonathan!):
> >
> >
> stackoverflow.com/questions/58982745/raku-one-line-expression-to-capture-group-from-string
> >
> > I certainly would be interested to learn if there's a phaser solution
> > to this problem (and I also have a sneaking suspicion that Supply
> > might be useful here... ).
> >
> > HTH, Bill.
>
--
Fernando Santagata
.
'zef build' works flawlessly and so does Mi6, which OTOH can't deal with
LibraryMake.
HTH
On Sat, Dec 21, 2019 at 7:41 PM Fernando Santagata <
nando.santag...@gmail.com> wrote:
> Hello,
>
> What can I use to help building native code for a Raku module?
> I
…and the App::Mi6 author just released an updated version that deals well
with the new naming scheme!
Thank you!
On Mon, Dec 23, 2019 at 4:51 PM Fernando Santagata <
nando.santag...@gmail.com> wrote:
> I hope that zef tests a distribution using both .t and .rakutest
> extensions, b
It seems that the problem I was having with prove6 was due to zef not
realizing there is a new version of the module.
On Mon, Dec 23, 2019 at 4:51 PM Fernando Santagata <
nando.santag...@gmail.com> wrote:
> I hope that zef tests a distribution using both .t and .rakutest
> extensi
ent.
> >
> > As an aside, I deplore the practice of identifying the language of a
> > directly executable program in the top level. It means that any change
> > to the language used means lying to the world, (which destroys the
> > point) or hunting down and changing every script or other caller to
> > reflect the new situation.
>
--
Fernando Santagata
something
useful!
Happy holidays!
On Mon, Dec 23, 2019 at 3:28 AM David Warring
wrote:
> Hi Fernando,
> I'm still in the habit of using LibraryMake. E.g. for
> https://github.com/p6-xml/LibXML-raku released in this last few months.
> Regards,
> David
>
> On Sun, Dec 22
Hello,
What can I use to help building native code for a Raku module?
Is LibraryMake still the preferred method or there's something else to use
nowadays?
Thanks!
--
Fernando Santagata
On Fri, Dec 13, 2019 at 6:48 AM Todd Chester via perl6-users <
perl6-us...@perl.org> wrote:
> On 2019-12-12 00:22, Fernando Santagata wrote:
> > On Thu, Dec 12, 2019 at 3:46 AM Todd Chester > <mailto:toddandma...@zoho.com>> wrote:
>
> Can I export any other va
On Thu, Dec 12, 2019 at 3:46 AM Todd Chester wrote:
> On 2019-12-11 10:22, Fernando Santagata wrote:
> > File test.pm6
> >
> > unit module test;
> > subset PosInt of Int is export where * > 0;
> >
> >
> > File test.p6
> >
> > u
by
> default; that is, they are "our": https://docs.perl6.org/language/classtut
>
> Subsets... well I don't know. I would say they are package scoped by
> default, same as classes.
>
> JJ
>
--
Fernando Santagata
for all those years really, really deserve
to be thanked.
A lot.
--
Fernando Santagata
On Mon, Dec 9, 2019 at 9:38 AM Fernando Santagata
wrote:
> It can be used this way:
>
> $ raku -e'say „Hello!“'
> Hello!
> But it must be used with that closing quote '“' (U+201C); it cannot be
> used paired with itself:
>
There's another quotati
ed mathematical symbol, while I find the second difficult to
interpret and remember.
--
Fernando Santagata
me) that there is an implicit type conversion from
> unsigned to signed integer and it is not possible to use positive
> numbers only, afterwards.
>
> Regards,
> Marcel
>
--
Fernando Santagata
done so far and start
publish the "work in progress" on the CPAN, so other people will know that
there's someone working on it. PRs will be welcome ;-)
On Sun, Dec 8, 2019 at 7:41 PM Tom Blackwood wrote:
> Nice! Thanks for letting me know.
>
> On Mon, Dec 9, 2019 at 12:21
at 1:52 AM Tom Browder wrote:
>
>> On Sun, Dec 8, 2019 at 10:38 AM Fernando Santagata
>> wrote:
>> >
>> > Hello,
>> > I started writing a raw interface to Tensorflow, but I stopped for
>> various reasons [¹]. If anyone wants to work o
tom.
> > (Meaning they behave a bit like [] in a regex)
> >
> > > 'abccd' ~~ / 'abc'+ d /
> > Nil
> > > 'abccd' ~~ / [abc]+ d /
> > Nil
> >
> > > 'abccd' ~~ / abc+ d /
> > abccd
> >
> > > 'abccd abcABCabcd' ~~ / :i 'abc'+ d /
> > abcABCabcd
> > > 'abccd abcABCabcd' ~~ / :i [abc]+ d /
> > abcABCabcd
> >
> > Note that '…' in a regex behaves like '…' outside of one, as well as "…"
> > behaving like "…" and 「…」 behaving like 「…」
>
> Hi Brad,
>
>That was above and beyond! Thank you!
>
> my $x = Q[\:\\::]; ( my $y = $x ) ~~ s/ 「\\」 /x/; say $y
> \:x::
>
> What is the easiest way to get those weird brackets in Fedora31?
>
> -T
>
--
Fernando Santagata
;> >
>> > Thanks, I'll check it out!
>> >
>> > On Fri, Dec 6, 2019 at 5:50 PM JJ Merelo wrote:
>> >>
>> >> Try something in the most wanted repo:
>> https://github.com/perl6/perl6-most-wanted/blob/master/most-wanted/modules.md
>> That way you will learn _and_ help the community.
>> >>
>> >> El vie., 6 dic. 2019 a las 8:11, Tom Blackwood ()
>> escribió:
>> >>>
>> >>> Hello
>> >>>
>> >>> My team most time developed with ruby language.
>> >>> These recent days we took time reading the book Learning Perl 6.
>> >>> Then we consider to take an actual project to learn more deeply.
>> >>> What project do you suggest for us to get involve into?
>> >>>
>> >>> Regards,
>> >>> Tom
>> >>
>> >>
>> >>
>> >> --
>> >> JJ
>>
>
--
Fernando Santagata
ulia language?
>>>
>>> https://en.wikipedia.org/wiki/Julia_(programming_language)
>>>
>>> It says it is also influenced by perl language.
>>>
>>> Regards
>>>
>>
>>
>> --
>> JJ
>>
>
--
Fernando Santagata
fter $y
> say %x<<$y >>.base(16)
>
> or I get the finger wagged at me.
>
> Ambiguous use of >>; use » instead to mean hyper, or
> insert whitespace before >> to mean a quote terminator
> (or use different delimiters?)
>
> Is there a better way to write:
> say %x<<$y >>.base(16)
>
> Many thanks,
> -T
>
--
Fernando Santagata
;"BB"}; for
> @y.kv -> $I, $J { say "Index $I $J $J" }; say "elements " ~
> @y.elems;'
>
> Index 0 aa bb
> Index 1 AA BB
> elements 2
>
>
> But I still have to figure out how to
>
> @y[0]={a=>"aa",b=>"bb"}
>
> $ p6 'my @y[0]={a=>"aa",b=>"bb"}; push @y, {a=>"AA",b=>"BB"}; for @y.kv
> -> $I, $J { say "Index $I $J $J" }; say "elements " ~ @y.elems;'
> Illegal dimension in shape: 0. All dimensions must be integers bigger than
> 0
>in block at -e line 1
>
--
Fernando Santagata
On Wed, Sep 4, 2019 at 4:07 PM Tom Browder wrote:
> On Wed, Sep 4, 2019 at 05:53 Fernando Santagata
> wrote:
>
>>
>> On Wed, Sep 4, 2019 at 12:21 PM William Michels
>> wrote:
>>
>>> Hi Fernando, I'm not sure I understand. Is this for module
>
nd/or--to that directory.
>
> https://github.com/ugexe/zef
>
> nuke [RootDir | TempDir | StoreDir]
> Deletes all paths in the specific configuration directory
>
> nuke [site | home]
> Deletes all paths that are rooted in the prefix of the matching
> CompUnit::Reposi
;m using the
git pre-push hook.
So far my pre-push script is just:
zef install . --force-install
but now I'm thinking that it's not enough and I'd like to uninstall the
current module and then re-install it.
To do that I need a way to uninstall an "anonymous" module, so
> >>> Hi All,
> >>>
> >>> How would I print out what a 32 real value of
> >>> 11.01 (base 10) looks like in its raw
> >>> binary form (ones and zeros)?
> >>>
> >>> Many thanks,
&
zeros)?
>
> Many thanks,
> -T
>
--
Fernando Santagata
ll have the interface and behaviour that you want!
> >
> >
> >> I think there are many other perl people around the world expect this
> capability.
> >
> > If there were more people actually working on this, we would actually
> have that capability.
> >
> >
> >
> > Liz
> >
>
--
Fernando Santagata
; Simon Proctor
>> Cognoscite aliquid novum cotidie
>>
>> http://www.khanate.co.uk/
>>
>>
>
> --
> Simon Proctor
> Cognoscite aliquid novum cotidie
>
> http://www.khanate.co.uk/
>
--
Fernando Santagata
; It's not perfect as not everything is in CPAN but it should help.
>
> --
> Simon Proctor
> Cognoscite aliquid novum cotidie
>
> http://www.khanate.co.uk/
>
--
Fernando Santagata
legant, if only it
> worked OK. So my question is really not how to compute pi's digits, but
> more this: why are the above computations falling from FatRat to Num after
> a while, and is there something to do to keep FatRat calculation all the
> way?
>
> Thanks to anyone who would be able to shed light on this.
>
>
>
>
>
>
>
>
>
--
Fernando Santagata
tly the same as the
> right side of `~~`)
>
> You wouldn't write this:
>
> * ~~ (* ~~ 1|2|4|8|16)
>
> So don't write this either:
>
> … where * ~~ 1|2|4|8|16
>
> ---
>
> It should be
>
> sub mysub(Int $value where 1|2|4|8|16)
>{
>
t rather at run time.
--
Fernando Santagata
tate that an integer can only
> have certain predefined values?
>
> Many thanks,
> -T
>
> --
> ~~~
> Having been erased,
> The document you're seeking
> Must now be retyped.
> ~~~
>
--
Fernando Santagata
On Tue, Feb 26, 2019 at 1:49 PM JJ Merelo wrote:
> Hi,
>
> El mar., 26 feb. 2019 a las 11:34, Fernando Santagata (<
> nando.santag...@gmail.com>) escribió:
>
>> Hello,
>>
>> Today I stumbled upon this article:
>>
>> https://blog.steve.fi/exp
https://github.com/nxadm/rakudo-pkg/releases) which the script uses
to install Perl 6 in the container.
--
Fernando Santagata
e, Nov 27, 2018 at 1:37 AM Trey Harris wrote:
>
> On Mon, Nov 26, 2018 at 19:26 Trey Harris wrote:
>
>>
>>
>> On Mon, Nov 26, 2018 at 04:56 Fernando Santagata <
>> nando.santag...@gmail.com> wrote:
>>
>>> On Sun, Nov 25, 2018 at 5:34 PM Brad Gil
n do any kind of test on the
directory's content, the most usual ones are those using the file test
operators, so defaulting to IO is probably more useful than defaulting to
Str.
--
Fernando Santagata
To further clarify, what I did to prepare this test is:
mkdir -p test/a/b
cd test
echo > a/c
On Sun, Nov 25, 2018 at 11:11 AM Fernando Santagata <
nando.santag...@gmail.com> wrote:
> Here's output of 'a/b'.IO.d from the REPL:
>
> > 'a/b'.IO.d
&
ne(".", ".."), i.e.
> "anything except . and ..".
>
> I'm not sure why using { .IO.d } as the test would not give you b, though.
> Can you check what "a/b".IO.d outputs? Maybe that can give us a clue.
>
> HTH
> - Timo
> On 24/11/201
est it returns just '.' and '..'?
If I do the same thing for the top level directory '.' the behavior is
different:
> my @dirs = dir('.', test => { .IO.d })
[".".IO "a".IO "..".IO]
Now I can see the directory 'a'.
If I descend a level, doing a 'cd a', the behavior is consistent with what
I see at the previous level.
I'm confused.
I'm using version 2018.10.
--
Fernando Santagata
r.version < v2018.09»
>
>
> On Tue, Nov 6, 2018 at 6:38 AM Fernando Santagata
> wrote:
> >
> > Hi,
> >
> > Here:
> >
> > https://docs.perl6.org/language/pod#Formatting_codes
> >
> > I read this:
> >
> >> Formatti
2018.09
>
instead of $*PERL.compiler.version < v2018.09
Did I misunderstand the whole nesting thing?
Is there any other way to include a '<' character inside a formatting code?
Thank you!
--
Fernando Santagata
g if a module is installed and loading
> it if it is:
>
> https://rakudo.org/post/lexical-require-upgrade-info
>
> Hope that helps!
> - Timo
> On 11/10/2018 19:08, Fernando Santagata wrote:
>
> Hello,
>
> I wish to run some tests on one module of mine only if there
Hello,
I wish to run some tests on one module of mine only if there's a certain
third-party module available during installation.
Before I concocted something horrid using try/catch in the INIT phaser, is
there any gentle way to do this?
Thanks!
--
Fernando Santagata
https://docs.perl6.org/routine/lines
> > seems pretty straight forward.
> >
> > Question: How do I tell when I when I have
> > reached the EOF (End Of File)?
> >
> > Many thanks,
> > -T
>
> Please expand the question to include `read` and `readchars`.
>
--
Fernando Santagata
Sun, Sep 30, 2018 at 4:28 AM Fernando Santagata
> wrote:
> >
> > Hi,
> >
> > I was hunting for a bug in my code, this one:
> >
> > my @a := CArray[int32].new: 6,3;
> > say [+] @a; # it should be "say [+] @a.list;"
> >
> > Tha
d whether this behavior is inherent to the Perl 6
type system or it's just a bug.
On Sun, Sep 30, 2018, 12:27 JJ Merelo wrote:
> This works:
>
> my int32 $a = 3; my int32 $b = 7; say $a * $b # OUTPUT: «21»
>
> El dom., 30 sept. 2018 a las 11:28, Fernando Santagata (<
&g
Numeric(NativeCall::Types::CArray[int32]: ); none of
these signatures match:
(Mu:U \v: *%_)
Is this a bug, an inconsistency, or a necessary evil?
--
Fernando Santagata
1 - 100 of 167 matches
Mail list logo