Cipherd@lemmy.ml to Programmer Humor@programming.dev · 9 days agofunctionslemmy.mlimagemessage-square119linkfedilinkarrow-up1659arrow-down19file-textcross-posted to: [email protected]
arrow-up1650arrow-down1imagefunctionslemmy.mlCipherd@lemmy.ml to Programmer Humor@programming.dev · 9 days agomessage-square119linkfedilinkfile-textcross-posted to: [email protected]
minus-squaremarcos@lemmy.worldlinkfedilinkarrow-up7·9 days agoThe 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·8 days agoI mean if we are talking lambdas the kotlin would just be {}
minus-squareandrybak@startrek.websitelinkfedilinkarrow-up3·8 days agotoo 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: