Cipherd@lemmy.ml to Programmer Humor@programming.dev · 2 days agofunctionslemmy.mlimagemessage-square117linkfedilinkarrow-up1635arrow-down19file-text
arrow-up1626arrow-down1imagefunctionslemmy.mlCipherd@lemmy.ml to Programmer Humor@programming.dev · 2 days agomessage-square117linkfedilinkfile-text
minus-squareandrybak@startrek.websitelinkfedilinkarrow-up2·13 hours agotoo bad they chose :: for type declaration instead of :
minus-squaremarcos@lemmy.worldlinkfedilinkarrow-up7·2 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-up2·22 hours agoI mean if we are talking lambdas the kotlin would just be {}
Meanwhile Haskell:
=
too bad they chose
::for type declaration instead of:\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 {}