September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
4
Task/Loops-Do-while/Jq/loops-do-while-1.jq
Normal file
4
Task/Loops-Do-while/Jq/loops-do-while-1.jq
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
# Perform the action, then check the condition, etc
|
||||
def do_while( action; condition ):
|
||||
def w: action | if (condition | not) then empty else ., w end;
|
||||
w;
|
||||
1
Task/Loops-Do-while/Jq/loops-do-while-2.jq
Normal file
1
Task/Loops-Do-while/Jq/loops-do-while-2.jq
Normal file
|
|
@ -0,0 +1 @@
|
|||
0 | do_while( .+1; . % 6 != 0 )
|
||||
Loading…
Add table
Add a link
Reference in a new issue