trivial-arguments

2024-10-12

A simple library to retrieve the lambda-list of a function.

Upstream URL

github.com/Shinmera/trivial-arguments

Author

Yukari Hafner <[email protected]>

Maintainer

Yukari Hafner <[email protected]>

License

zlib
README

About Trivial-Arguments

Often times I need to know about the lambda-list of a function for some kind of automatic construction business. Since this is implementation-dependant and SWANK isn't always handy, there's this.

How To

Simple:

(arg:arglist 'gethash)
(arg:arglist #'gethash)
(arg:arglist '(setf gethash))
(arg:arglist #'(lambda (foo) (declare (ignore foo))))

And that's all there is to it. If the lambda-list could not be determined, :unknown is returned instead.

Dependencies (0)

    Dependents (9)

    • adp-github
    • in-nomine
    • mockingbird
    • modularize-hooks
    • modularize-interfaces
    • multiposter
    • restricted-functions
    • transparent-wrap
    • typo
    • GitHub
    • Quicklisp