gpopides@lemmy.world to Programmer Humor@lemmy.ml · 1 year 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 · 1 year agomessage-square4fedilink
minus-squareKnusper@feddit.delinkfedilinkarrow-up0·1 year 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.
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.