Define-sk2
Introduce a second-order function
via a second-order version of std::define-sk.
General Form
(define-sk2 sofun ...) ; same as define-sk
Inputs
The inputs are identical to std::define-sk.
The function sofun must satisfy
all the requirements for defsoft,
because define-sk2 generates (defsoft sofun) (see below).
Generated Events
(define-sk sofun ...) ; input form with define-sk2 replaced by define-sk
(defsoft sofun)
sofun is introduced as a first-order function
using std::define-sk.
It is also recorded as a second-order function via defsoft.
Subtopics
- Define-sk2-implementation
- Implementation of define-sk2.