Count in octal: Difference between revisions
→{{header|BQN}}: Mention simpler method that doesn't fit the problem description
m (→{{header|Haskell}}: Specified maximum value of numeric type) |
(→{{header|BQN}}: Mention simpler method that doesn't fit the problem description) |
||
Line 965:
=={{header|BQN}}==
<code>_while_</code> and <code>Oct</code> are snippets from [https://mlochbaum.github.io/bqncrate/ BQNcrate]. A more array-oriented approach is <code>⥊↕n⥊8</code>, which produces all <code>n</code>-digit octal numbers instead of counting.
<lang bqn>_while_←{𝔽⍟𝔾∘𝔽_𝕣_𝔾∘𝔽⍟𝔾𝕩}
|