Created
September 10, 2018 19:33
-
-
Save csrhodes/8d74a1749a042a780d4c4ef1a42a6752 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun function-calls (form) | |
(flet ((fcall-walker (subform context env) | |
(typecase subform | |
(atom subform) | |
((cons (satisfies special-operator-p)) subform) | |
((cons (satisfies macro-function)) subform) | |
(t (print (car subform)) subform)))) | |
(sb-walker:walk-form form nil #'fcall-walker))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment