Beta Release of OPAM

OPAM is a source-based package manager for OCaml. It supports multiple simultaneous compiler installations, flexible package constraints, and a Git-friendly development workflow. I have recently announced the beta-release of OPAM on the caml-list, and this blog post introduces the basics to new OPAM...

17 Jan 2013

OCamlPro

Read Article
Static exceptions

In this post, I propose Static Exceptions as a new language feature allowing programmers to express interesting control flows in a compact way.

11 Jan 2013

LexiFi

Read Article
Experiences using Result.t vs Exceptions in Ocaml

Disclaimer: I have not compiled any of the example code in this post. Mostly because they are snippets meant to illustrate a point rather ...

04 Jan 2013

Orbitz

Read Article
Introduction to Result.t vs Exceptions in Ocaml

This post uses Jane St's Core suite. Specifically the Result module. It assumes some basic knowledge of Ocaml. Please check out Ocaml.o...

03 Jan 2013

Orbitz

Read Article
OCaml Design Pattern: Easy functorization refactoring for unit testing

I’ve recently stumbled upon a useful OCaml design pattern for functorizing an existing module, without changing the way existing clients of that module use it. This is really useful for stubb…

18 Dec 2012

Mike McClurg

Read Article
Type-based selection of label and constructors

Most languages provide some way to manipulate tuples of values with a proper label for each field. They are called structures in C, records in OCaml; objects as found in most mainstream OO languages extend this same notion.

27 Nov 2012

LexiFi

Read Article