In reply to @kapendev "In a weird way": Converting a string of digits to a sequence of ints in Nim: `"0232158528586".mapIt($it.parseInt)` It's not terrible, but it bothers me a bit. You need to first convert it digit character to a string, and then parseInt each of the length 1 strings. If someone knows a better way, let me know. This came up when solving the Luhn problem. Whenever you need to iterate over digits of a number and treat them as numbers, I think it requires a double conversion.