id	summary	reporter	owner	description	type	status	priority	milestone	version	resolution	keywords	cc
3	Crash when integral acts on single event	wchogg	somebody	"If you run the following code it will work correctly & run into the already tracked <<loop>> problem with integral.  If you change the events to events' in the main function, it eats up all the RAM & causes a hard lockup. I'm not sure yet if this is related to any known bug. 

import FRP.Reactive[[BR]]
import FRP.Reactive.LegacyAdapters[[BR]]
import Control.Concurrent[[BR]]
import Control.Monad[[BR]]

x :: Event () -> Behavior Double[[BR]]
x e = b where b = integral e b

events :: Event ()[[BR]]
events = atTimes [0.1,0.2]

events' :: Event ()[[BR]]
events' = once events

schedule a = threadDelay 100000 >> a

main = do
 c <- makeClock[[BR]]
 u <- mkUpdater (cGetTime c) (fmap print $  x events)[[BR]]
 forever $ schedule u[[BR]]"	defect	new	major					
