Function: majutsu-template--expand-lambda-shorthand-special

majutsu-template--expand-lambda-shorthand-special is a natively compiled function defined in majutsu-template.el.

Signature

(majutsu-template--expand-lambda-shorthand-special OP ARGS)

Documentation

Expand lambda shorthand operator OP with raw ARGS.

Return majutsu-template--no-special-expansion when OP is not shorthand.

Source Code

;; Defined in /nix/store/jagqw3nms546pad0gxi5f3wsckk6pji7-emacs-packages-deps/share/emacs/site-lisp/majutsu-template.el
(defun majutsu-template--expand-lambda-shorthand-special (op args)
  "Expand lambda shorthand operator OP with raw ARGS.
Return `majutsu-template--no-special-expansion' when OP is not shorthand."
  (if-let* ((params (majutsu-template--lambda-sugar-params op)))
      (pcase args
        (`(,body)
         (majutsu-template--lambda-from-form params body))
        (_
         (user-error "majutsu-template: %S expects BODY, got %S" op args)))
    majutsu-template--no-special-expansion))