Closed PuercoPop closed 8 years ago
A minor usability suggestion, something like
(let* ((directories (mapcar #'uiop:directory-exists-p (split-sequence:split-sequence #\: (uiop:getenv "PATH")))) (directories (remove-if #'null directories)) ; Remove non-existent directories (possible-gnuplot-locations (mapcar #'(lambda (d) (uiop/pathname:merge-pathnames* eazy-gnuplot:*gnuplot-home* d)) directories))) (unless (some #'uiop/filesystem:file-exists-p possible-gnuplot-locations) (warn "Could not find GNUPLOT in $PATH")))
A minor usability suggestion, something like