Cipherd@lemmy.ml to Programmer Humor@programming.dev · 2 days agofunctionslemmy.mlimagemessage-square115fedilinkarrow-up1619arrow-down18file-textcross-posted to: [email protected]
arrow-up1611arrow-down1imagefunctionslemmy.mlCipherd@lemmy.ml to Programmer Humor@programming.dev · 2 days agomessage-square115fedilinkfile-textcross-posted to: [email protected]
minus-squareandrybak@startrek.websitelinkfedilinkarrow-up2·5 hours agotoo bad they chose :: for type declaration instead of :
minus-squaremarcos@lemmy.worldlinkfedilinkarrow-up7·1 day 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·13 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 {}