Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Desktop GUI toolkits - current state of the art?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2010-11-24 (15:59)
From: Hezekiah M. Carty <hcarty@a...>
Subject: Re: [Caml-list] Desktop GUI toolkits - current state of the art?
On Wed, Nov 24, 2010 at 4:47 AM, Martin DeMello <> wrote:
> I was surprised not to see much interest in GUI DSLs in OCaml.

It's not complete or a full-blown DSL, but I started a small Gtk-light
module a while ago.  I haven't had the time to complete it, but it
shouldn't be too difficult to modify for your needs:

Here is a brief example (uses the "open Module in" syntax extension):

With OCaml 3.12 the "open Module in" could be replaced by the new "let
open Module in" or Module.(...) syntax.