Arithmetic numbers: Difference between revisions

m
m (→‎{{header|jq}}: the approach is stream-oriented)
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>
2,442

edits