roswell.roswell/lisp/dist-clean.lisp
2018-03-11 16:11:20 +09:00

13 lines
300 B
Common Lisp

(defpackage :roswell.dist.clean
(:use :cl)
(:shadow :list))
(in-package :roswell.dist.clean)
(defun clean (&rest r)
(setf r (cdr r))
(let* ((name (first r))
(dist (ql-dist:find-dist name)))
(if dist
(ql-dist:clean dist)
(format t "dist:~A not found.~%" name))))