[reactive] snapshot_ vs. withTimeE_

Achim Schneider barsoap at web.de
Wed Jan 7 22:25:01 EST 2009


Shouldn't 

timeAtFramePass :: UI -> Event TimeT
timeAtFramePass i = snapshot_ time (framePass i)

and 

timeAtFramePass = withTimeE_ . framePass


be equivalent? The final output of the first one seems to skip
occurrences (I don't think frames are truly skipped).

See http://hpaste.org/13746


-- 
(c) this sig last receiving data processing entity. Inspect headers
for copyright history. All rights reserved. Copying, hiring, renting,
performance and/or quoting of this signature prohibited.




More information about the Reactive mailing list