Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 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