JPDev@programming.dev to Programmer Humor@programming.dev · 7 months ago===programming.devimagemessage-square70fedilinkarrow-up1677arrow-down117
arrow-up1660arrow-down1image===programming.devJPDev@programming.dev to Programmer Humor@programming.dev · 7 months agomessage-square70fedilink
minus-squaremumblerfish@lemmy.worldlinkfedilinkarrow-up1·7 months agoI think it’s called ‘delayed assignment’. So it is almost like =, but you can use arguments to define functions, f[a_]:=a+2.
What does the walrus operator do?
I think it’s called ‘delayed assignment’. So it is almost like
=
, but you can use arguments to define functions,f[a_]:=a+2
.