From mboxrd@z Thu Jan 1 00:00:00 1970 X-Sympa-To: caml-list@inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id q1EAHmB3016426 for ; Tue, 14 Feb 2012 11:17:48 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtIBAIEzOk/RVdy2mGdsb2JhbABDp28BiCUIIgEBAQEBCAkNBxQngXIBAQEDARICLAEbHQEDAQsGBQQBBjsiAREBBQEcBjWHWgmcNwqLcYJwhSk/iHMCBQuLW3IXAwKEK4NJBJUyjiU9hAM X-IronPort-AV: E=Sophos;i="4.73,416,1325458800"; d="scan'208";a="144152591" Received: from mail-vx0-f182.google.com ([209.85.220.182]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 14 Feb 2012 11:17:43 +0100 Received: by vcmm1 with SMTP id m1so7202702vcm.27 for ; Tue, 14 Feb 2012 02:17:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=vdTtXqqUHQpvR/xkC/McB96CLx4vEiWbUR7Glg8s79E=; b=rYxUYbala+XWhscA7vgasBotuK0z7P8R6eR8oEBV1IW3lTASf4zHliHpeVD0KYtEhq ArwxfhkgMyBYvRudWrl5AcZwEdLnREcaClYYc3SoP8FHOyf7fn9ze8WTCkYAQECImopw li97trfC8G09pF1pBuaINle/YjsIgCkL2+SS0= Received: by 10.52.70.175 with SMTP id n15mr8531894vdu.10.1329214662218; Tue, 14 Feb 2012 02:17:42 -0800 (PST) MIME-Version: 1.0 Received: by 10.52.90.140 with HTTP; Tue, 14 Feb 2012 02:17:22 -0800 (PST) In-Reply-To: References: From: Philippe Veber Date: Tue, 14 Feb 2012 11:17:22 +0100 Message-ID: To: Anthony Tavener Cc: Raoul Duke , caml users Content-Type: multipart/alternative; boundary=20cf3071c934c592a304b8e9e7ef X-Validation-by: philippe.veber@gmail.com Subject: Re: [Caml-list] Functional GUI programming: looking for good practices --20cf3071c934c592a304b8e9e7ef Content-Type: text/plain; charset=ISO-8859-1 Hi Anthony, This looks interesting, however as I'm not very familiar with delimcc (that's a shame, I admit), I fail to understand the flow of the program. Would you mind giving a snippet of the update loop you mentionned? > So far, I'm not sure how well this works out for a complete project. I > like it so far, but I have complexity growing in some "update loop" stuff, > which are little closures I add to be run each frame-update for reacting to > mouse-over/hover. > > Good luck in the hunt for elegant UI (code)! > Let's hope I'm not just Dahu hunting! (http://en.wikipedia.org/wiki/Dahu) > > Tony > > --20cf3071c934c592a304b8e9e7ef Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Anthony,

This looks interesting, however as I'm not very fami= liar with delimcc (that's a shame, I admit), I fail to understand the f= low of the program. Would you mind giving a snippet of the update loop you = mentionned?
=A0
So far, I'm not sure how well this works out = for a complete project. I like it so far, but I have complexity growing in = some "update loop" stuff, which are little closures I add to be r= un each frame-update for reacting to mouse-over/hover.



Good luck in the hunt for = elegant UI (code)!

Let's hope I'm not just Dahu hunting! <= br>(http://en.wikipedia.org/w= iki/Dahu)

=A0

=A0Tony


--20cf3071c934c592a304b8e9e7ef--