Skip to content

Instantly share code, notes, and snippets.

@joekarma
Created May 3, 2013 03:46
Show Gist options
  • Save joekarma/5507075 to your computer and use it in GitHub Desktop.
Save joekarma/5507075 to your computer and use it in GitHub Desktop.
(mapcar (lambda (d)
(format nil "~{~a~^-~}"
(series:collect
(series:until-if
(lambda (string-part)
(ppcre:scan "^\\d{8}$" string-part))
(series:scan (ppcre:split "-" (lastcar (pathname-directory d))))))))
(list-directory
(merge-pathnames
#P"software/"
(ql-dist:base-directory (ql-dist:find-dist "quicklisp")))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment