Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
11
Task/Rep-string/PicoLisp/rep-string-1.l
Normal file
11
Task/Rep-string/PicoLisp/rep-string-1.l
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
(de repString (Str)
|
||||
(let Lst (chop Str)
|
||||
(for (N (/ (length Lst) 2) (gt0 N) (dec N))
|
||||
(T
|
||||
(use (Lst X)
|
||||
(let H (cut N 'Lst)
|
||||
(loop
|
||||
(setq X (cut N 'Lst))
|
||||
(NIL (head X H))
|
||||
(NIL Lst T) ) ) )
|
||||
N ) ) ) )
|
||||
Loading…
Add table
Add a link
Reference in a new issue