Ordered words: Difference between revisions

Content deleted Content added
Peak (talk | contribs)
→‎{{header|jq}}: is_sorted via until
Peak (talk | contribs)
m →‎{{header|jq}}: rm extraneous #
Line 1,756:
});</lang>
=={{header|jq}}==
# {{works with|jq|1.4}}
<lang jq># If your jq already defines until/2, then the following definition can be omitted:
def until(cond; next):
def _until: if cond then . else (next|_until) end;