Unpack 960213.tar.gz

This commit is contained in:
2023-05-19 11:13:22 +03:00
parent 1a496ecc36
commit b2d44413ea
9 changed files with 172 additions and 26 deletions
+2 -2
View File
@@ -290,12 +290,12 @@
(define (instantiate template args)
(define (get-arg n)
(reverse! (string->list (vector-ref args n))))
(reverse (string->list (vector-ref args n))))
(let ((limit (string-length template)))
(let loop ((i 0) (r '()))
(cond ((= i limit)
(list->string (reverse! r)))
(list->string (reverse r)))
((char=? (string-ref template i) #\@)
(let ((k (- (char->integer (string-ref template (+ i 1)))
(char->integer #\0))))