Ramsey's theorem: Difference between revisions
m
→{{header|Wren}}: Minor tidy
(→{{header|jq}}: jaq too) |
m (→{{header|Wren}}: Minor tidy) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1,048:
'''Also works with gojq, the Go implementation of jq.'''
With
In the following, if a is a connectivity matrix and if $i != $j,
Line 1,067:
| if $depth == $size
then (if $ctype == 0 then "un" else "" end) as $cs
| "Totally \($cs)connected group: " + (.idx | map(tostring) | join(" "))
else .i = $min
| until (.i >= $max or .emit;
Line 1,997:
{{trans|C}}
{{libheader|Wren-fmt}}
<syntaxhighlight lang="
var a = List.filled(17, null)
|