Re: ^methods doesn't show all methods

2021-02-16 Thread Vadim Belman
It's not about gist truncating long lists. After all, when it does so it ends the output with triple dot. Yet nobody spotted that not every methods in the list are represented by their names. Alongside with something like 'elems' there are many 'Method+{is-nodal}.new' entries. This is due to `i

Re: ^methods doesn't show all methods

2021-02-16 Thread Joseph Brenner
Gianni Ceccarelli wrote: >If you grep the list itself, instead of its gist:: > > $ raku -e 'Set.^methods.map(*.name).grep(/keys/)>>.say' > keys Yes, you're right. That's all there was to it.

Re: ^methods doesn't show all methods

2021-02-16 Thread Gianni Ceccarelli
On 2021-02-16 Joseph Brenner wrote: > But I don't see them in the list from .^methods: > > say $s.^methods; > > say so $s.^methods.gist.grep(/<>/); # False ``say`` calls ``.gist``, which produces a *truncated* string representation for long lists:: $ raku -e 'say (^1000).List' (

Re: ^methods doesn't show all methods

2021-02-16 Thread David Warring
I'm getting this on Rakudo blead. $ raku -v Welcome to Rakudo(tm) v2020.12-129-g291cc5f39. Implementing the Raku(tm) programming language v6.d. Built on MoarVM version 2020.12-100-gc93531608. $ raku -e'my $s = set 2, 4, 6; say $s.^methods>>.name.sort;' (ACCEPTS ASSIGN-KEY AT-KEY BUILDALL Bag BagHa

^methods doesn't show all methods

2021-02-16 Thread Joseph Brenner
Set objects have Associative methods: my $s = set 2, 4, 6; say $s.keys; # (4 2 6) But I don't see them in the list from .^methods: say $s.^methods; # (menu default pick minpairs Setty grabpairs SET-SELF raku Method+{is-nodal}.new Real Baggy iterator keyof Method+{is-nodal}.new Method+{

Re: My OOP keeper

2021-02-16 Thread Ralph Mellor
With apologies to the list to the degree this is just noise. I originally intended to send this email off list. But I realized that what was confusing Todd might perhaps be confusing to all of you. So I've decided to write this on list. *After* this one I plan to go off list and email Todd private

Re: Tip: upgrading Rakudo-star

2021-02-16 Thread ToddAndMargo via perl6-users
On 2/16/21 2:39 AM, ToddAndMargo via perl6-users wrote: Hi All, I have been tasked by a customer to upgrade Rakudo Start (and others things too) on seven identical computers with Windows 10-20H2 on them. Three of them are giving me that obnoxious Windows uninstaller error telling me it can't

Tip: upgrading Rakudo-star

2021-02-16 Thread ToddAndMargo via perl6-users
Hi All, I have been tasked by a customer to upgrade Rakudo Start (and others things too) on seven identical computers with Windows 10-20H2 on them. Three of them are giving me that obnoxious Windows uninstaller error telling me it can't find its temp files. To get around this, dig Rakudo out