From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id A3C07BC37 for ; Fri, 19 Jun 2009 20:33:46 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArsBALx2O0pV2gB4mWdsb2JhbACYbAEBAQEBCAsKBxO3BYQJBQ X-IronPort-AV: E=Sophos;i="4.42,255,1243807200"; d="scan'208";a="31599132" Received: from emailfrontal1.citycable.ch ([85.218.0.120]) by mail1-smtp-roc.national.inria.fr with SMTP; 19 Jun 2009 20:33:46 +0200 Received: from localhost (emailfrontal1.citycable.ch [127.0.0.1]) by emailfrontal1.citycable.ch (Postfix) with ESMTP id B8D1F12C1B7; Fri, 19 Jun 2009 20:33:45 +0200 (CEST) Received: from [192.168.0.11] (85-218-60-97.dclient.lsne.ch [85.218.60.97]) (Authenticated sender: guillaume.yziquel@citycable.ch) by emailfrontal1.citycable.ch (Postfix) with ESMTPA id 7F05612C0FD; Fri, 19 Jun 2009 20:33:43 +0200 (CEST) Message-ID: <4A3BD93F.8020304@citycable.ch> Date: Fri, 19 Jun 2009 20:30:23 +0200 From: Guillaume Yziquel Reply-To: guillaume.yziquel@citycable.ch User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: =?UTF-8?B?RGFuaWVsIELDvG56bGk=?= Cc: caml-list@inria.fr Subject: Re: Obj.magic and existential types. References: <4A3BCE1A.3010403@citycable.ch> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam: no; 0.00; guillaume:01 guillaume:01 existential:01 rewrote:01 functional:02 programming:03 frp:04 reactive:04 daniel:04 daniel:04 types:05 thread-safe:05 example:10 magic:10 magic:10 Daniel B=C3=BCnzli a =C3=A9crit : >=20 > Not directly responding to your question but you are looking for=20 > functional reactive programming (frp). >=20 > http://erratique.ch/software/react >=20 > I rewrote your example below with react (no magic used). >=20 > Best, >=20 > Daniel Thanks a lot. Very good to know. That will save me time. Just a side question: how thread-safe is React? All the best, Guillaume Yziquel.