Arithmetic numbers: Difference between revisions
m
→{{header|jq}}
m (→{{header|jq}}: the approach is stream-oriented) |
m (→{{header|jq}}) |
||
Line 926:
'''Also works with gojq, the Go implementation of jq'''
A point of interest in the following is that the approach is entirely stream-oriented and thus very economical with memory. In particular, `arithmetic_integers` produces an unbounded stream of arithmetic integers.
'''Generic utilities'''
<syntaxhighlight lang=jq>
|