FYI - using atom to work with perl6
The problem described was a bug in the file-icon package of atom. The
regex for assigning an icon to perl was too loose and so perl6 files, in
some circumstances, were being associated with the perl5 icon.
On 14/10/18 01:37, Ahmad Zawawi wrote:
Can you ple
I've got another question about aug--yes, I know--ment.
I've got a module ides_of_augment.pm6:
use MONKEY-TYPING;
augment class Any {
method hiccup {
say "hic!";
}
}
I would've thought it could be used in the repl like this:
perl6 -Mides_of_augment
> (Any).hiccu
pyanfar Z$ 6 'use MONKEY-TYPING; augment class Any {method hic { say "hoc"
}}; my @a = ; @a.hic'
No such method 'hic' for invocant of type 'Array'. Did you mean 'hic'?
in block at -e line 1
zsh: exit 1
pyanfar Z$ 6 'use MONKEY-TYPING; augment class Any {method hic { say "hoc"
}}; Array.^compose