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.

Shuffling Lists

Shuffling a list into a random order is usually handled by the Fisher-Yates Shuffle.

04 Aug 2025

Marc Elvers

Read Article
Learning OCaml: Functions without Parameters

A couple of days ago I noticed on OCaml’s Discord server that someone was confused by OCaml function applications (invocations) like these:

02 Mar 2025

Bozhidar Batsov

Read Article
Liquidity Tutorial: A Game with an Oracle for Random Numbers

A Game with an oracle In this small tutorial, we will see how to write a chance game on the Tezos blockchain with Liquidity and a small external oracle which provides random numbers. Principle of the game Rules of the game are handled by a smart contract on the Tezos blockchain. When a player decide...

06 Nov 2018

OCamlPro

Read Article
How to shuffle a big dataset

At Jane Street, we often work with data that has a very lowsignal-to-noise ratio, but fortunately we also have a lot of data.Where practitioners in many fiel...

26 Sep 2018

Jane Street Tech Blog

Read Article
Visualise Randomness

Visualising the randomness is a simple fun way to test randomness and see how a random generator behaves. The post demonstrate how to do it in OCaml with the library camlimages...

22 Nov 2015

Xinuo Chen

Read Article
Strange Datetime Problem

While working on my unit tests, I came across a sporadic failure in inserting and selecting Datetimes to the database, so I wrote a quick test harness to see what’s going on: This fails about…

17 Aug 2013

Gaius Hammond

Read Article
Vose's Alias Method

This is a note regarding the implementation of Vose's Method to construct the alias tables for non-uniform discrete probability sampling pr...

29 Dec 2011

Matías Giovannini

Read Article