Kacarott to Programmer Humor@lemmy.ml · 9 hours agoWhat the F#whatthefsharp.comexternal-linkmessage-square22fedilinkarrow-up168arrow-down11file-text
arrow-up167arrow-down1external-linkWhat the F#whatthefsharp.comKacarott to Programmer Humor@lemmy.ml · 9 hours agomessage-square22fedilinkfile-text
minus-squarevithigar@lemmy.calinkfedilinkarrow-up1·5 hours agoI think the explanation they provide is a bit lacking as well. Defining an anonymous function doesn’t “create a reference” to any variables it uses, it captures the scope in which it was defined and retains existing references.
I think the explanation they provide is a bit lacking as well. Defining an anonymous function doesn’t “create a reference” to any variables it uses, it captures the scope in which it was defined and retains existing references.