Blog

The OCaml Planet RSS

Articles and videos contributed by both experts, companies and passionate developers from the OCaml community. From in-depth technical articles, project highlights, community news, or insights into Open Source projects, the OCaml Planet RSS feed aggregator has something for everyone.

Want your Blog Posts or Videos to Show Here?

To contribute a blog post, or add your RSS feed, check out the Contributing Guide on GitHub.

OCaml Tips: Converting a String to a List of Characters

While playing with OCaml I was surprised to learn there’s no built-in function the convert a string to a list of its characters. Admittedly, that’s not something you need very often, but it does come handy from time to time. There are many ways to implement such a function ourselves and the one I like the most makes use of List.init:

24 Oct 2022

Bozhidar Batsov

Read Article
Custom operators in OCaml

If like me, you've always been a little hazy on the rules for defining OCaml operators then, this little post might help! It is possible ...

20 Sep 2016

Shayne Fletcher

Read Article