Blog

The OCaml Planet

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.

A Helping Phantom Hand

You don't have to be writing an interpreter or some other kind of abstract code to profit from some phantom types. Suppose you have two or m...

02 Aug 2012

Matías Giovannini

Read Article
Theorems for Free: The Monad Edition

This is for the record, since the derivations took me a while and I'd rather not lose them. A functor is the signature: module type FU...

19 Jul 2012

Matías Giovannini

Read Article
An Odd Lemma

While proving that every monad is an applicative functor, I extracted the following derivation as a lemma: fmap f ∘ (λh. fmap h x) ≡ { ...

17 Jul 2012

Matías Giovannini

Read Article
A minor branch off Braun Trees

Revisiting the post on Braun Trees I noticed that, while pedagogical, the implementation of the root replacement operation rep can be stre...

12 Jul 2012

Matías Giovannini

Read Article
Existential Crisis

In a long discussion at LtU , user Jules Jacobs advances a use-case that for him would have been difficult to solve in a statically-typed l...

09 Jul 2012

Matías Giovannini

Read Article
Assessing Abstractions

Back to OCaml! Catching up with StackOverflow's OCaml questions , I found an interesting one about private type abbreviations in module si...

02 Jul 2012

Matías Giovannini

Read Article
Managing and Analyzing Big-Data in Genomics

Abstract Biology is an increasingly computational discipline. Rapid advances in experimental techniques, especially DNA sequencing, are generating data at exponentially increasing rates. Aside from...

29 Jun 2012

Ashish Agarwal

Read Article
2D Interpolation, Part 5: Final Optimizations

The code has now the proper shape to carry out optimizations to their logical consequences, to the point that I question the wisdom in some...

29 Jun 2012

Matías Giovannini

Read Article
2D Interpolation, Part 4: ARGB Interpolation

After linearizing all array accesses , interpolating ARGB values is easy from the algorithmic side of things; so easy things first. I'll han...

28 Jun 2012

Matías Giovannini

Read Article