Timeline for The Squiggly Sequence
Current License: CC BY-SA 4.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 3, 2023 at 14:12 | history | edited | Tristan F.-R. | CC BY-SA 4.0 |
join type A into X
|
May 3, 2023 at 0:19 | comment | added | Tristan F.-R. | (Golf stackexchange reccomended for us to continue this discussion in chat). | |
May 3, 2023 at 0:18 | history | edited | Tristan F.-R. | CC BY-SA 4.0 |
Dispose of "\\" and "/" in the X type and use `&string` instead of ` extends string` to coerce input
|
May 3, 2023 at 0:17 | comment | added | Tristan F.-R. |
Even further, (didn't see this before) you can use &string instead of N extends string to coerce the type to be stringified: tsplay.dev/wR0o1m
|
|
May 3, 2023 at 0:07 | comment | added | noodle person | 148 bytes (I think you copy-pasted from the wrong link I posted earlier) tsplay.dev/Nll1XN | |
May 2, 2023 at 23:57 | history | edited | Tristan F.-R. | CC BY-SA 4.0 |
clarify unary input usage
|
May 2, 2023 at 23:53 | comment | added | Tristan F.-R. | Oh right! Thanks, I'll edit the solution with that input instead. | |
May 2, 2023 at 23:49 | comment | added | noodle person |
175 total - the part after the blank line is footer, which shouldn't be counted, unless you still want to take input in decimal. But then I'm sure there's a shorter way of converting decimal to unary, I didn't attempt to golf that section. Good idea with the ${any} -- I didn't think of that.
|
|
May 2, 2023 at 23:32 | history | edited | Tristan F.-R. | CC BY-SA 4.0 |
link Jacob
|
May 2, 2023 at 23:24 | comment | added | Tristan F.-R. |
I do want to make sure I didn't mess it up - was that 175 bytes of improvement or 175 bytes total? (If it was total, it seems I couldn't do the minification right - I was only able to shave off 230 bytes by minifying your solution - the extra improvements came from dropping the unneeded conditional on Join and simplifying infer _ to any )
|
|
May 2, 2023 at 23:23 | history | edited | Tristan F.-R. | CC BY-SA 4.0 |
230 byte improvement
|
May 2, 2023 at 21:37 | comment | added | noodle person | 175 bytes tsplay.dev/WPgoKm | |
May 2, 2023 at 14:47 | history | answered | Tristan F.-R. | CC BY-SA 4.0 |