In the RIDE interface, is there an option to make it behave a bit closer to a "traditional" REPL? Like up-arrowing through the executed expressions, rather than also going through any output? Or failing that, some sort of history command? Or am I just doing it wrong?
@Adám - I question whether there can be any correct solution to the problem as stated. While dzaima's solution does provide a correct string of digits of arbitrary length, it's returning an integer (or BigInt), not the actual value (less than 1) requested. I leave the question of the bounty to your discretion; I have come to the conclusion that the problem as stated should have been considered invalid.
@Adám - For what it's worth, I spotted a couple of other "solutions" that used exactly the same algorithm - the K solution given is essentially an exact translation of my APL solution. (Or vice-versa; it seems that the K solution was posted in 2017.)
@JeffZeitlin it does ask for precision as the input, which makes it 100% possible.. (given enough memory & time)
@JeffZeitlin that k solution is also invalid.
either way, your solution as-is in Dyalog is definitely invalid as is just plainly ignores a rule of the challenge, whether or not you call that rule possible to follow or not (spoiler: it is possible) is unrelated
@JeffZeitlin i could remove the trailing L and prepend 0. but i didn't feel like it was required. the author has been around, and hasn't called my answer invalid so ¯\_(ツ)_/¯
CMC: this challenge codegolf.stackexchange.com/questions/201266 but without this restriction "You'll have to support at least the first [1,10000]" (for example, your solution can assume dyalog's integers are infinite precision)
by restriction, I mean the rule of supporting up to 10000, but my solution for 16 bytes cannot realistically support up to 10000, my solution assumes arbitrary precision integers
half-relatedly, i once wanted to brute-force compare dzaima/APL to Dyalog to find differences but quickly realized there'd be way too many. i wonder if there's an acceptable hopefully-equal subset that could be properly brute-forced