Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
4
Task/Stack/J/stack-1.j
Normal file
4
Task/Stack/J/stack-1.j
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
stack=: ''
|
||||
push=: monad def '0$stack=:stack,y'
|
||||
pop=: monad def 'r[ stack=:}:stack[ r=.{:stack'
|
||||
empty=: monad def '0=#stack'
|
||||
6
Task/Stack/J/stack-2.j
Normal file
6
Task/Stack/J/stack-2.j
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
push 9
|
||||
|
||||
pop ''
|
||||
9
|
||||
empty ''
|
||||
1
|
||||
Loading…
Add table
Add a link
Reference in a new issue