refactoring volgens skill
This commit is contained in:
+3
-3
@@ -139,12 +139,12 @@
|
||||
(file-exists? file)
|
||||
(audio-file? file)
|
||||
(let ((full-file
|
||||
(with-handlers ((exn:fail? (lambda (_) #f)))
|
||||
(with-handlers ((exn:fail? (λ (_) #f)))
|
||||
(simplify-path (path->complete-path file) #t))))
|
||||
(and full-file
|
||||
(for/or ((library (in-list libraries)))
|
||||
(define root
|
||||
(with-handlers ((exn:fail? (lambda (_) #f)))
|
||||
(with-handlers ((exn:fail? (λ (_) #f)))
|
||||
(simplify-path
|
||||
(path->complete-path (music-library-root library))
|
||||
#t)))
|
||||
@@ -185,7 +185,7 @@
|
||||
(list name
|
||||
(normal-case-path
|
||||
(path->complete-path path)))))
|
||||
(lambda (first second)
|
||||
(λ (first second)
|
||||
(equal? (cadr first) (cadr second))))))
|
||||
(for/list ((named-root (in-list roots))
|
||||
(index (in-naturals)))
|
||||
|
||||
Reference in New Issue
Block a user