Daniel Sockwell wrote:
>> Is there a convenient way to get a list of all classes built-in to Raku?
> Short answer:
> raku -e '.say for (|CORE::, |UNIT::, |OUTERS::, |MY::).grep({ .key eq
> .value.^name }).grep({ .value.HOW.^name eq "Perl6::Metamodel::ClassHOW"
> }).map(*.key).unique'
> Somewhat
> Is there a convenient way to get a list of all classes built-in to Raku?
Short answer:
raku -e '.say for (|CORE::, |UNIT::, |OUTERS::, |MY::).grep({ .key eq
.value.^name }).grep({ .value.HOW.^name eq "Perl6::Metamodel::ClassHOW"
}).map(*.key).unique'
Somewhat longer answer:
https://stackoverf
Is there a convenient way to get a list of all classes built-in to Raku?