0Brought to you by the ocaml gang(lemmy.world)posted 10 months ago bygpopides@lemmy.worldin programmerhumor@lemmy.mlView comments4 commentssavehidereportSort:HotTopControversialNewOldYou are viewing a single thread.View all comments View context [ +- ]FishFace@lemmy.world0 points10 months agoYeah but it doesn’t cross function boundaries so it’s more limited. permalinksavereportparentreply[ +- ]Knusper@feddit.de0 points10 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. permalinksavereportparentreply