Kacarott@aussie.zone to Programmer Humor@lemmy.ml · 1 month agoWhat the F#whatthefsharp.comexternal-linkmessage-square29fedilinkarrow-up188arrow-down12file-text
arrow-up186arrow-down1external-linkWhat the F#whatthefsharp.comKacarott@aussie.zone to Programmer Humor@lemmy.ml · 1 month agomessage-square29fedilinkfile-text
minus-squarevithigarlinkfedilinkarrow-up2·1 month 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.