Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
10
Task/Nested-function/J/nested-function-1.j
Normal file
10
Task/Nested-function/J/nested-function-1.j
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
MakeList=: dyad define
|
||||
sep_MakeList_=: x
|
||||
cnt_MakeList_=: 0
|
||||
;MakeItem each y
|
||||
)
|
||||
|
||||
MakeItem=: verb define
|
||||
cnt_MakeList_=: cnt_MakeList_+1
|
||||
(":cnt_MakeList_),sep_MakeList_,y,LF
|
||||
)
|
||||
4
Task/Nested-function/J/nested-function-2.j
Normal file
4
Task/Nested-function/J/nested-function-2.j
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
'. ' MakeList 'first';'second';'third'
|
||||
1. first
|
||||
2. second
|
||||
3. third
|
||||
Loading…
Add table
Add a link
Reference in a new issue