dzecnivB to Lisp@communick.newsEnglish · 1 year agoInteractive Common Lisp development: variables, functions, symbols, classes, methods, conditions…www.n16f.netexternal-linkmessage-square3fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkInteractive Common Lisp development: variables, functions, symbols, classes, methods, conditions…www.n16f.netdzecnivB to Lisp@communick.newsEnglish · 1 year agomessage-square3fedilink
minus-squareSlowValueBlinkfedilinkEnglisharrow-up1·1 year ago(lisp-implementation-type) ;; ⇒ "SBCL" (lisp-implementation-version) ;; ⇒ "2.3.10" (setf (symbol-function 'foo) #'1+) ;; ⇒ # (let ((old-foo #'foo)) (setf (symbol-function 'foo) #'1-) (funcall old-foo 42)) ;; ⇒ 43 (6 bits, #x2B, #o53, #b101011)