Replace 'when not' to 'unless'
This commit is contained in:
parent
c91003e34b
commit
daa744f8b2
@ -78,7 +78,7 @@
|
||||
;;; Logger
|
||||
;;;
|
||||
(define (logger . args)
|
||||
(when (not (null? args))
|
||||
(unless (null? args)
|
||||
(let ((prefix
|
||||
(format "~a | "
|
||||
(strftime "%c" (localtime (current-time))))))
|
||||
@ -179,7 +179,7 @@
|
||||
(when (or (not max-file-size)
|
||||
(< readed max-file-size))
|
||||
(let ((data (get-bytevector-n in max-read-length)))
|
||||
(when (not (eof-object? data))
|
||||
(unless (eof-object? data)
|
||||
(put-bytevector port data)
|
||||
(loop (+ readed (bytevector-length data))))))))
|
||||
#:binary #t))))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user