[racket-dev] FrTime propagation bug

From: Marijn (hkBst at gentoo.org)
Date: Wed Jan 11 11:08:31 EST 2012

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Consider:


#lang racket

(require frtime)

(define a (event-receiver))
(define b (hold a))

(send-event a 3)

;;; uncomment next line to make it work
;(value-now (hold a))
(value-now b)


`a' is an event-stream onto which the value 3 is sent. `b' is the
behavior produced by holding the last value seen on `a'. After the
value 3 arrives on `a', `b' should hold to 3. But it doesn't unless
you ``help'' frtime a bit...

Marijn
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk8Ns/8ACgkQp/VmCx0OL2yahwCcDFs/1kL+m4PVhfmPdkjTQTcu
KmMAnjLaAAHPYvCM1eKkLXl0EBCuXRkE
=mrh9
-----END PGP SIGNATURE-----


Posted on the dev mailing list.