Compare commits
No commits in common. "f3454424075db277a99f54b01fdf5a145d5e1344" and "3fa52ef6e4c9d8e88226418322ab3fd47705002a" have entirely different histories.
f345442407
...
3fa52ef6e4
|
@ -8,5 +8,3 @@
|
|||
(release "0.1")
|
||||
(release "0.2")
|
||||
(release "0.2.1")
|
||||
(release "0.2.2")
|
||||
(release "0.2.3")
|
||||
|
|
|
@ -7,8 +7,7 @@
|
|||
(begin
|
||||
(define (subprocess command-line stdin-bytevector read-stdout)
|
||||
(read-stdout (run/port (,(car command-line) ,@(cdr command-line))
|
||||
(<< ,(utf8->string stdin-bytevector))
|
||||
(> 2 "/dev/null"))))))
|
||||
(<< ,(utf8->string stdin-bytevector)))))))
|
||||
(gauche
|
||||
(import (only (gauche process) call-with-process-io))
|
||||
(begin
|
||||
|
|
|
@ -1,15 +1,18 @@
|
|||
(define (join-adjacent-strings list)
|
||||
(define (join-adjacent type? type-append list)
|
||||
(let loop ((new-list '()) (list list))
|
||||
(if (null? list) (reverse new-list)
|
||||
(loop (if (and (not (null? new-list))
|
||||
(string? (car new-list))
|
||||
(string? (car list)))
|
||||
(cons (string-append (car new-list)
|
||||
(type? (car new-list))
|
||||
(type? (car list)))
|
||||
(cons (type-append (car new-list)
|
||||
(car list))
|
||||
(cdr new-list))
|
||||
(cons (car list) new-list))
|
||||
(cdr list)))))
|
||||
|
||||
(define (join-adjacent-strings list)
|
||||
(join-adjacent string? string-append list))
|
||||
|
||||
(define (vector-refs vec . indexes)
|
||||
(let loop ((obj vec) (indexes indexes))
|
||||
(if (null? indexes) obj
|
||||
|
|
|
@ -95,7 +95,4 @@
|
|||
(unless (null? inputs)
|
||||
(let ((filename (string-append (number->string i) ".md")))
|
||||
(tar-write-file filename (car inputs))
|
||||
(loop (+ i 1) (cdr inputs)))))
|
||||
(let ((nulls (make-bytevector 512 0)))
|
||||
(write-bytevector nulls)
|
||||
(write-bytevector nulls)))
|
||||
(loop (+ i 1) (cdr inputs))))))
|
||||
|
|
Loading…
Reference in New Issue