From: "Daniel Bünzli" <daniel.buenzli@erratique.ch>
To: Philippe Veber <philippe.veber@gmail.com>
Cc: caml users <caml-list@inria.fr>
Subject: Re: [Caml-list] Signals of signals in react
Date: Fri, 8 Mar 2013 16:02:11 +0100 [thread overview]
Message-ID: <A62BF17F101C4BBCB4D28BDC61F720A9@erratique.ch> (raw)
In-Reply-To: <B3006DF47FCC4C54A55FD4B571F49F5C@erratique.ch>
Le vendredi, 8 mars 2013 à 15:21, Daniel Bünzli a écrit :
> But if it didn't make it *may* be due to thorny signal initialization problems.
Had a quick look [1], nothing that jumps to my mind.
Or was maybe it was a (not so clever now it seems) way of side stepping the issue of having to define a notion of equality for signals ?
Well I'll have to look at that more precisely.
Daniel
P.S. You should replace your use of ( == ) in S.map by S.equal otherwise you'll get potentially incorrect results (too many updates) with imperative dependent signals if your map function also returns constant signals --- unless you think that two constant signals with the same value should not be thought as equal.
[1] https://github.com/dbuenzli/react/blob/master/src/react.ml#L999
next prev parent reply other threads:[~2013-03-08 15:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-08 9:43 Philippe Veber
2013-03-08 11:51 ` Lukasz Stafiniak
2013-03-08 13:55 ` Philippe Veber
2013-03-08 14:21 ` Daniel Bünzli
2013-03-08 15:02 ` Daniel Bünzli [this message]
2013-03-08 22:21 ` Philippe Veber
2013-03-08 22:17 ` Philippe Veber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=A62BF17F101C4BBCB4D28BDC61F720A9@erratique.ch \
--to=daniel.buenzli@erratique.ch \
--cc=caml-list@inria.fr \
--cc=philippe.veber@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).