Skip to content

2.3. API Macros

Lucas Vieira edited this page Sep 2, 2018 · 1 revision

API Macros

Those are the signatures of some macros you may want to use. They were designed to make it more comfortable for jobs that may require extra work (for example, requesting for a selection on a list of options). The macro signatures were written in the exact same way which they are expected to be typed (except for the &tags which are only explicitly shown to explain the nature of some parameters).

(powerlisp-request-user-input &optional prompt)

(with-powerlisp-user-input (&optional prompt) &body body...)

(with-powerlisp-options-menu (prompt alist) &body body...)

(with-powerlisp-menu (prompt alist) &body body...)

Clone this wiki locally