cross-posted from: https://lemmy.ml/post/39334581

you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 9 months ago*

In Emacs Lisp, you use one of these two:

(defun funcname (arg1 arg2) (+ arg1 arg2))

(lambda (arg1 arg2) (+ arg1 arg2))

— with the latter typically being an argument to another function or macro.

  • source
  • parent