JPDev@programming.dev to Programmer Humor@programming.dev · 11 months ago===programming.devimagemessage-square71fedilinkarrow-up1682arrow-down117
arrow-up1665arrow-down1image===programming.devJPDev@programming.dev to Programmer Humor@programming.dev · 11 months agomessage-square71fedilink
minus-squaremumblerfish@lemmy.worldlinkfedilinkarrow-up1·11 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.
I think it’s called ‘delayed assignment’. So it is almost like
=
, but you can use arguments to define functions,f[a_]:=a+2
.