gpopides@lemmy.world to Programmer Humor@lemmy.ml · 10 months agoBrought to you by the ocaml ganglemmy.worldimagemessage-square4fedilinkarrow-up10arrow-down10
arrow-up10arrow-down1imageBrought to you by the ocaml ganglemmy.worldgpopides@lemmy.world to Programmer Humor@lemmy.ml · 10 months agomessage-square4fedilink
minus-squareFishFace@lemmy.worldlinkfedilinkarrow-up0·10 months agoYeah but it doesn’t cross function boundaries so it’s more limited.
minus-squareKnusper@feddit.delinkfedilinkarrow-up0·10 months agoIn other words, in OCaml, you don’t have to write type annotations into the function parameter list. It will infer even those. It’s useful for small ad-hoc functions, but personally, I’m glad that Rust is more explicit here.
Yeah but it doesn’t cross function boundaries so it’s more limited.
In other words, in OCaml, you don’t have to write type annotations into the function parameter list. It will infer even those.
It’s useful for small ad-hoc functions, but personally, I’m glad that Rust is more explicit here.