Skip to content

Instantly share code, notes, and snippets.

@dto
dto / gist:741804
Created December 15, 2010 09:25 — forked from stassats/gist:741780
;;; Usage (percentage (analyze-systems '(a b c d))) => 42.23
(eval-when (:compile-toplevel :load-toplevel :execute)
(when (asdf:find-system :named-readtables nil)
(asdf:load-system :named-readtables)))
(defun analyze-form (form)
(typecase form
(symbol
(when (eql (symbol-package form) (find-package 'cl))