Finadil@lemmy.world to linuxmemes@lemmy.worldEnglish · 8 months agoNever go full cringelemmy.worldexternal-linkmessage-square30linkfedilinkarrow-up1254arrow-down116file-text
arrow-up1238arrow-down1external-linkNever go full cringelemmy.worldFinadil@lemmy.world to linuxmemes@lemmy.worldEnglish · 8 months agomessage-square30linkfedilinkfile-text
Has my motd gone too far? It loads a random ANSI catgirl from a folder. I use arch btw, server runs minimized Ubuntu Server.
minus-squarertxn@lemmy.worldMlinkfedilinkarrow-up3·8 months agoIs | (...) | { ... } a lambda expression then?
minus-squareIgnotum@lemmy.worldlinkfedilinkarrow-up2·8 months agoYep, lambda or closure (it’s an anonymous function but it can also capture state from the enclosing function, i think pure lambdas can’t do that?)
Is
| (...) | { ... }a lambda expression then?Yep, lambda or closure (it’s an anonymous function but it can also capture state from the enclosing function, i think pure lambdas can’t do that?)