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=2.6 required=5.0 tests=AWL,DNS_FROM_RFC_POST, SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id C8100BBAF for ; Tue, 23 Jun 2009 04:23:15 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmkDANvZP0rRVd65jmdsb2JhbACYKD8BAQEBCQkKCadljlgBAwIEhAYFhy0 X-IronPort-AV: E=Sophos;i="4.42,272,1243807200"; d="scan'208";a="28556426" Received: from mail-pz0-f185.google.com ([209.85.222.185]) by mail2-smtp-roc.national.inria.fr with ESMTP; 23 Jun 2009 04:23:15 +0200 Received: by pzk15 with SMTP id 15so1770872pzk.1 for ; Mon, 22 Jun 2009 19:23:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to :content-type:content-transfer-encoding; bh=Zn/uOGt6xC/Gy9PYSie0zaus9qTO50BwMyyBBUIIHMc=; b=TTkPBB4JgC1kS3Z3fbKMoPl3YXSRsyWbkB1mcDvUHl/6aPPC6LM4Y0lW3XUhnUFFcn Y3fd8teHjNJduDagLcdnKFffuc18LaXanU9rdjV5fAp05bZd6C15owFK09oxsFslj0aW jxgFZLoUgumfzbTLhgSkaExByVnbTIthTSOQs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; b=DDuNW6+IgUOZBZfMg4BBGjRPysB3QUy4aCbnmfX0ScR3gin59NXqac8B0wJ7LyeU1f YMLOjmds5axMrnVuBM54G5jg6s3qrFlOZuje4I2yzauvZZ2PxeIeRcVEVJMB6/dIFTK1 CWsNDJQAw6Vb1bodsg8SCTHXgQ5P4EmqxLngI= MIME-Version: 1.0 Sender: jake.donham@gmail.com Received: by 10.142.134.20 with SMTP id h20mr2989456wfd.342.1245723794128; Mon, 22 Jun 2009 19:23:14 -0700 (PDT) In-Reply-To: <66E06129-1281-48F4-AE9D-E56FD716917A@erratique.ch> References: <4A3BCE1A.3010403@citycable.ch> <91F6B99D-3075-47A1-9257-0BD208C6D5D8@erratique.ch> <66E06129-1281-48F4-AE9D-E56FD716917A@erratique.ch> From: Jake Donham Date: Mon, 22 Jun 2009 19:22:54 -0700 X-Google-Sender-Auth: 20de684010eeec88 Message-ID: Subject: Re: [Caml-list] Re: Obj.magic and existential types. To: OCaml List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam: no; 0.00; existential:01 bunzli:01 buenzli:01 2009:98 wrote:01 caml-list:01 chunk:02 primitive:02 external:03 top-level:03 top-level:03 daniel:04 daniel:04 types:05 depend:07 On Mon, Jun 22, 2009 at 5:24 PM, Daniel B=FCnzli wrote: > But in this "chunk" can you repeatedly get external (in the sense primiti= ve) > input ? I looked at your breakout implementation and I think I understand your concern now. In your code there is a top-level select loop that feeds keystrokes and clock ticks into the system, so you are asking whether those events can be fed into the top-level bind. I think the answer is yes. A froc event (same as a React event) can be created outside the top-level bind, and behaviors (React signals) can depend on it. But of course the proof is in the implementation; I will give it a try. Best regards, Jake