Mosaic matrix: Difference between revisions
→{{header|jq}}: simplify
(→{{header|jq}}: simplify) |
|||
Line 392:
| [range(0;$n) | . % 2] as $one
| [range(0;$n) | (. + 1) % 2] as $two
|
'''Example''':
<lang jq>def display:
|
(→{{header|jq}}: simplify) |
|||
Line 392:
| [range(0;$n) | . % 2] as $one
| [range(0;$n) | (. + 1) % 2] as $two
|
'''Example''':
<lang jq>def display:
|
edits