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.

How to render trees like the Unix tree command

How to render trees like Unix 'tree' The Unix tree utility produces a pretty rendering of a filesystem. Implementi...

14 Oct 2017

Shayne Fletcher

Read Article
Balanced binary search trees

The type of "association tables" (binary search trees). type (α, β) t = | Empty | Node of (α , β) t * α * β * (α, β) t * int There are tw...

27 Aug 2016

Shayne Fletcher

Read Article
Binomial Heap

This post presents another functional heap - binomial heap in OCaml. It also describes binomial tree in great details. Diagrams and OCaml code has been supplied....

18 Mar 2015

Xinuo Chen

Read Article
Heap - Leftist Tree

This post presents a functional heap - leftist tree in OCaml. It walks through binary heap, list based heap towards leftist tree. OCaml code has been supplied....

13 Mar 2015

Xinuo Chen

Read Article
Height, Depth and Level of a Tree

This is a post on the three important properties of trees: height, depth and level, together with edge and path, presented in a visual way....

26 Nov 2014

Xinuo Chen

Read Article