Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
6
Task/Extend-your-language/Jq/extend-your-language-1.jq
Normal file
6
Task/Extend-your-language/Jq/extend-your-language-1.jq
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
def if2($c1; $c2; both; first; second; neither):
|
||||
if $c1 and $c2 then both
|
||||
elif $c1 then first
|
||||
elif $c2 then second
|
||||
else neither
|
||||
end;
|
||||
8
Task/Extend-your-language/Jq/extend-your-language-2.jq
Normal file
8
Task/Extend-your-language/Jq/extend-your-language-2.jq
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
def if2(c1; c2; both; first; second; neither):
|
||||
c1 as $c1
|
||||
| c2 as $c2
|
||||
| if $c1 and $c2 then both
|
||||
elif $c1 then first
|
||||
elif $c2 then second
|
||||
else neither
|
||||
end;
|
||||
Loading…
Add table
Add a link
Reference in a new issue