Kacarott@aussie.zone to Programmer Humor@lemmy.ml · 2 months agoWhat the F#whatthefsharp.comexternal-linkmessage-square29fedilinkarrow-up189file-text
arrow-up189external-linkWhat the F#whatthefsharp.comKacarott@aussie.zone to Programmer Humor@lemmy.ml · 2 months agomessage-square29fedilinkfile-text
minus-squarevithigar@lemmy.calinkfedilinkarrow-up2·2 months 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.