Function: majutsu-template--higher-order-form

majutsu-template--higher-order-form is a natively compiled function defined in majutsu-template.el.

Signature

(majutsu-template--higher-order-form METHOD COLLECTION VAR BODY)

Documentation

Return COLLECTION.METHOD(|VAR| BODY) as a template form.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-template.el
(defun majutsu-template--higher-order-form (method collection var body)
  "Return COLLECTION.METHOD(|VAR| BODY) as a template form."
  (let ((var-name (intern (majutsu-template--node->identifier var method))))
    `[:method ,collection ,(intern (concat ":" method)) [:lambda [,var-name] ,body]]))