Kacarott@aussie.zone to Programmer Humor@lemmy.ml · 21 days agoWhat the F#whatthefsharp.comexternal-linkmessage-square28fedilinkarrow-up191arrow-down11file-text
arrow-up190arrow-down1external-linkWhat the F#whatthefsharp.comKacarott@aussie.zone to Programmer Humor@lemmy.ml · 21 days agomessage-square28fedilinkfile-text
minus-squarevithigar@lemmy.calinkfedilinkarrow-up2·21 days 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.