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.

Pearl No.4 - Kth Smallest in the Union of 2 Sorted Collections

Here is the Pearl No.4: Let A and B be two disjoint ordered collections with distinct elements inside. Their combined size is greater than k. A and B are sorted, but the underlying data structures are not specified as...

19 Oct 2017

Xinuo Chen

Read Article
Permutations

This post describes the ways of generating permutations, with 2 common approaches , the Johnson Trotter algorithm and streaming. Code is in OCaml....

05 May 2015

Xinuo Chen

Read Article
Immutable

This post describes immutable in OCaml with details. It also illustrates the functional programming style together with Quicksort in OCaml. Shadowing is also presented....

02 Jan 2015

Xinuo Chen

Read Article
Merge Right

The so-called master-transaction update is one of the, if not the defining algorithms of the discipline formerly known as "data processing...

07 Aug 2012

Matías Giovannini

Read Article
Lwt and Concurrent ML

Programming concurrent systems with threads and locks is famously, even fabulously, error-prone. With Lwt's cooperative threads you don't ha...

28 May 2009

Jake Donham

Read Article