From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id q1EALDke016899 for ; Tue, 14 Feb 2012 11:21:13 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AogCAEo0Ok9KN1ZKnGdsb2JhbABDhRCrLwEBAQEBCAsJCRQngXIBAQQBI1YFCwsaAhgOAgI9ChAGG4d0AwanaZIegS+KcQgEBwMECgQHCQwIAQIBAgKDfSQDFYIlM2MEmnmNHg X-IronPort-AV: E=Sophos;i="4.73,416,1325458800"; d="scan'208";a="131268132" Received: from mail6.webfaction.com (HELO smtp.webfaction.com) ([74.55.86.74]) by mail4-smtp-sop.national.inria.fr with ESMTP; 14 Feb 2012 11:21:07 +0100 Received: from heyho.local (95-234.197-178.cust.bluewin.ch [178.197.234.95]) by smtp.webfaction.com (Postfix) with ESMTP id 2736F2078D0E; Tue, 14 Feb 2012 04:21:04 -0600 (CST) Date: Tue, 14 Feb 2012 11:21:01 +0100 From: =?utf-8?Q?Daniel_B=C3=BCnzli?= To: Philippe Veber Cc: caml users Message-ID: <4EE9238E9F474D96925E5920255FD691@erratique.ch> In-Reply-To: References: X-Mailer: sparrow 1.5 (build 1043.1) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by walapai.inria.fr id q1EALDke016899 Subject: Re: [Caml-list] Functional GUI programming: looking for good practices Le mardi, 14 février 2012 à 11:02, Philippe Veber a écrit : > In other words, am I allowed to call a primitive in a lifted function? No. This is documented here [1]. One way to side-step the issue is to put these updates in a queue and execute them after the update cycle ended. Best, Daniel [1] http://erratique.ch/software/react/doc/React#update