From mboxrd@z Thu Jan 1 00:00:00 1970 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 q3HJNfYQ025593 for ; Tue, 17 Apr 2012 21:23:41 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlQCAETCjU9KN1ZKnGdsb2JhbABEhWareQEBAQEBCAsJCRQnggkBAQQBI1YFCwsaAhgOAgI9ChAGG4gBBQSnGJJ4gS+OMDVjBJtOjUA X-IronPort-AV: E=Sophos;i="4.75,436,1330902000"; d="scan'208";a="154466651" Received: from mail6.webfaction.com (HELO smtp.webfaction.com) ([74.55.86.74]) by mail1-smtp-roc.national.inria.fr with ESMTP; 17 Apr 2012 21:23:35 +0200 Received: from heyho.local (119-233.197-178.cust.bluewin.ch [178.197.233.119]) by smtp.webfaction.com (Postfix) with ESMTP id 25B0D26ED106; Tue, 17 Apr 2012 14:23:32 -0500 (CDT) Date: Tue, 17 Apr 2012 21:23:27 +0200 From: =?utf-8?Q?Daniel_B=C3=BCnzli?= To: Satoshi Ogasawara Cc: caml-list@inria.fr Message-ID: In-Reply-To: <4F8D9D0E.1040007@itpl.co.jp> References: <4F8D9D0E.1040007@itpl.co.jp> X-Mailer: sparrow 1.5 (build 1043.1) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: [Caml-list] [ANN] PEC ver. 1.1 Hello, > PEC is similar to React library but there are some different points. > > - PEC's update cycle is separated from sending events. > You can send a value to event during update cycle. What's the semantics if you send two different values to an event during an update cycle ? > - PEC doesn't hold any pointer(including weak one) to event until the > event will be subscribed. I'm not sure how that's different from react. If an event has no dependents (by which I understand your "subscribed"), react doesn't hold any pointer either. > - All PEC's signal are switchable. 'switch' means you can replace dependency > of a signal keeping signals depends on the signal unchanged. How is that different from react's E.switch/S.switch ? Best, Daniel