Paste number 49522: function vs. closure

Paste number 49522: function vs. closure
Pasted by: Hecktor
9 months, 4 days ago
#lispcafe | Context in IRC logs
Paste contents:
Raw Source | XML | Display As
(let ((count 0))
           #'(lambda () (+ 2 count))
)


(let ((count 0))
           #'(lambda () (incf count))
)

This paste has no annotations.

Colorize as:
Show Line Numbers

Ads absolutely not by Google

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.