Pascal Costanza wrote:
> (loop for path in (directory "http:lw;**;.lisp") sum
> (with-open-file (stream path)
> (loop while (read-line stream nil nil) count t)))
Racket:
(for/sum ([file (find-files (curry regexp-match "\\.bak"))])
(with-input-from-file file (thunk* (sequence-length (in-lines)))))