It requires a registration if you want to save your files. As of now, you can create a file without registration and share it (https://repl.it/repls/SimpleAlicebluePlan).
Edit... On a second thought, it does require a registration if you want to participate/vote. That's probably what you meant?!
Yes - I hear you. I really appreciate Larry recasting the three great virtues of a programmer - laziness, impatience and hubris .... to ... dedication, patience and humility (https://www.safaribooksonline.com/library/view/open-sources/1565925823/ch11.html) - these sound like good brand values for Perl 6 to me!
For the record, it appears that all languages are available from all others, and Perl5 is already a shared library.
Just to clarify, the body of the post is an exchange between the folk who run TIO.run and me.
Bottom line is, given they prefer or may require fedora packages as the base of operations:
You did violate the rule to ask a Perl 5 question in a Perl 6 subreddit.
Since you utterly fail at a very simple assignment I would like to recommend to abandon your teacher (as that person clearly doesn't know how to teach) and seek refuge at https://www.perl.org/learn.html .
One can use P6 in repl.it but I don't know what's the status of its support. The language isn't listed but it's accessible through https://repl.it/languages/perl6.
> Is it not possible to also transparently handle locking around the other operations with an overload?
That would be a mutex (or some locking synchronization mechanism). Atomic operations don't use a mutex.
> ...the other operations...
If you look at any other language's atomic library this is all quite similar golang: sync/atomic
Very nice. A little more compact:
use MONKEY; augment class Cool { method HTML { self.say } } try my @types.push: $_ if not .DEFINITE for CORE::.values; try .^compose if Cool ∈ .^mro for ^@types; 42.HTML
While reducing to the above, which seems solid, I wrote this:
use MONKEY; augment class Cool { method HTML { self.say } } my @a = CORE::.values; my @types; for @a { my \T := $; try @types[$++] := T if not T.DEFINITE; } for ^@types { my \T := @types[$]; try if Cool ∈ T.^mro { T.^compose; } } 42.HTML
which has a heisenbug, mostly displaying 42
(correct) but sometimes yielding:
No such method 'HTML' for invocant of type 'Int'. Did you mean 'HTML'?
mostly for line 15 but sometimes line 1.
See this at tio.
Golfing it is proving difficult. I'll try again tomorrow.
I wrote an introduction into the plugin - https://dev.to/melezhik/ssh-bulk-check-super-flexible-check-of-group-of-nodes-by-ssh-42ff
I find it interesting that Brian d. Foy posted a kickstarter for "Learning Perl 6". I like the butterfly on the cover, but agree with the commenters on twitter that he should change the catchline at the bottom (I'm sure it was just a holdover anyway). I'll probably contribute, but why would you need a kickstarter if O'Reilly is publishing it? I guess we'll find out later this week.