Data update
This commit is contained in:
parent
4d5544505c
commit
4924dd0264
3073 changed files with 55820 additions and 4408 deletions
6
Task/Stack/TAV/stack-1.tav
Normal file
6
Task/Stack/TAV/stack-1.tav
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
row (@) push (val):
|
||||
@[@.Count+1] =: val \ increments .Count
|
||||
row (@) pop:
|
||||
rv =: @[@.Count] \ void if .Count = 0
|
||||
@[@.Count] =: () \ assigning void decrements .Count
|
||||
:> rv
|
||||
Loading…
Add table
Add a link
Reference in a new issue