Function: majutsu-template--call-with-root-self-binding

majutsu-template--call-with-root-self-binding is a natively compiled function defined in majutsu-template.el.

Signature

(majutsu-template--call-with-root-self-binding EXPLICIT-TYPE THUNK)

Documentation

Call THUNK with a synthetic root self binding when EXPLICIT-TYPE requires it.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-template.el
(defun majutsu-template--call-with-root-self-binding (explicit-type thunk)
  "Call THUNK with a synthetic root self binding when EXPLICIT-TYPE requires it."
  (if-let* ((type (majutsu-template--root-self-type explicit-type)))
      (majutsu-template--call-with-self-binding
       (majutsu-template--raw-node "self" type)
       type
       thunk)
    (funcall thunk)))