Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
10
Task/Loops-For/Klong/loops-for.klong
Normal file
10
Task/Loops-For/Klong/loops-for.klong
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
:" x{p}:*y means repeat {p} x times starting at y "
|
||||
|
||||
5{x{.d(0c*);x}:*0;.p("");x+1}:*1
|
||||
|
||||
:" But you would not do it like this! "
|
||||
:" You would reshape 0c* to the desired length "
|
||||
:" in a function and then iterate that function "
|
||||
:" over a vector of numbers: "
|
||||
|
||||
{.p(x:^0c*)}'1+!5
|
||||
Loading…
Add table
Add a link
Reference in a new issue