Cipherd@lemmy.ml to Programmer Humor@programming.dev · 4 个月前functionslemmy.mlimagemessage-square116fedilinkarrow-up1656arrow-down19file-text
arrow-up1647arrow-down1imagefunctionslemmy.mlCipherd@lemmy.ml to Programmer Humor@programming.dev · 4 个月前message-square116fedilinkfile-text
minus-squarepet the cat, walk the dog@lemmy.worldlinkfedilinkarrow-up2·edit-24 个月前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.
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.