Cipherd@lemmy.ml to Programmer Humor@programming.dev · 10か月前functionslemmy.mlimagemessage-square119fedilinkarrow-up1663file-textcross-posted to: programmerhumor@lemmy.ml
arrow-up1663imagefunctionslemmy.mlCipherd@lemmy.ml to Programmer Humor@programming.dev · 10か月前message-square119fedilinkfile-textcross-posted to: programmerhumor@lemmy.ml
minus-squaremarcos@lemmy.worldlinkfedilinkarrow-up7·10か月前The examples on the meme don’t bind any variables. If those are lambdas, the Haskell version is just the ... part.
minus-squareidunnololz@lemmy.worldlinkfedilinkarrow-up3·9か月前I mean if we are talking lambdas the kotlin would just be {}
minus-squareandrybak@startrek.websitelinkfedilinkarrow-up3·9か月前too bad they chose :: for type declaration instead of :
Meanwhile Haskell:
=
\x -> …
The examples on the meme don’t bind any variables. If those are lambdas, the Haskell version is just the
...part.I mean if we are talking lambdas the kotlin would just be {}
too bad they chose
::for type declaration instead of: