Timeline for It was just a bug
Current License: CC BY-SA 4.0
10 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 26, 2018 at 1:46 | history | edited | whofferbert | CC BY-SA 4.0 |
added 328 characters in body
|
| Jul 26, 2018 at 1:37 | comment | added | whofferbert | Ah, I found the problem with $++ vs $_++, perl6 version 2013.12 built on parrot 5.9.0 revision 0, vs perl6 version 2015.11 built on MoarVM version 2015.11, where it behaves as on TIO. | |
| Jul 26, 2018 at 1:32 | comment | added | whofferbert | Too good! Thank you for sharing, I'm just starting to dabble with perl 6 | |
| Jul 26, 2018 at 1:26 | history | edited | whofferbert | CC BY-SA 4.0 |
updated answer thanks to Jo King; who needs map?
|
| Jul 26, 2018 at 1:24 | comment | added | Jo King | Huh. Well, here's 35 byter that uses a for loop | |
| Jul 26, 2018 at 1:20 | comment | added | whofferbert | Thanks, there's always more to learn :) Interestingly, the code that runs on TIO perl6 does not run with rakudo, unless I change $++ to $_++ | |
| Jul 26, 2018 at 1:20 | review | Late answers | |||
| Jul 26, 2018 at 1:29 | |||||
| Jul 26, 2018 at 1:11 | comment | added | Jo King | Or you can change to a list and use the list repetition operator for 37 bytes | |
| Jul 26, 2018 at 1:08 | comment | added | Jo King |
0..16 => ^17
|
|
| Jul 26, 2018 at 1:03 | history | answered | whofferbert | CC BY-SA 4.0 |