langs a-z
This commit is contained in:
parent
db842d013d
commit
d066446780
11389 changed files with 98361 additions and 1020 deletions
4
Task/Flatten-a-list/PostScript/flatten-a-list-1.ps
Normal file
4
Task/Flatten-a-list/PostScript/flatten-a-list-1.ps
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
/flatten {
|
||||
/.f {{type /arraytype eq} {{.f} map aload pop} ift}.
|
||||
[exch .f]
|
||||
}.
|
||||
1
Task/Flatten-a-list/PostScript/flatten-a-list-2.ps
Normal file
1
Task/Flatten-a-list/PostScript/flatten-a-list-2.ps
Normal file
|
|
@ -0,0 +1 @@
|
|||
[[1] 2 [[3 4] 5] [[[]]] [[[6]]] 7 8 []] flatten
|
||||
Loading…
Add table
Add a link
Reference in a new issue