@otini speaking of Ocaml, what are the biggest benefits of it? I looked into it several years ago, but I stopped because I didn't have a project to implement using it.

What kind of project would be easiest to implement in Ocaml which also shows it off in the best way?

@loke I guess I like OCaml because it's functional but still simple and quite minimal, unlike e.g. Haskell (I like Haskell too though).

I think it's a good choice if performance matters to you but you still want to use a functional language. It's also quite nice to write compilers with it 😛

@otini How do I get started with Ocaml? Also, how is the ecosystem of useful libraries?

Follow

@loke @otini The ecosystem is called , it has plenty of bindings for the common C libraries, to start with.

The benefits of are most apparent in a project involving some complicated data structures — (G)ADTs and parametric modules are super useful for defining and operating with those structures.

TBH, IDK what to recommend to get started with OCaml specifically, since I myself learned first (via the R.Harper's book). But I won't recommend the resources either.

@loke Real World OCaml (realworldocaml.org/v1/en/html/) is not bad. I would advise to read it up to chapter 5 and then skim through the rest, depending on the interest.

@amiloradovsky

Sign in to participate in the conversation
Functional Café

functional.cafe is an instance for people interested in functional programming and languages.