> 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://stackoverflow.com/questions/44861432/is-there-a-way-to-get-a-list-of-all-known-types-in-a-perl-6-program

I hope that helps!

-codesections

Reply via email to