Ticket #27 (new defect)
mkUpdater sleeps for constant behaviours
| Reported by: | povman | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Version: | Keywords: | ||
| Cc: |
Description
I wrote a little sample program:
main = do
c <- makeClock
a <- mkUpdater (cGetTime c) (fmap (const (print "ping")) time)
a
which, to my dismay, exited without printing "ping"! I have therefore added a new behaviour and a rewrite rule which allows me to implement my test thusly:
main = do
c <- makeClock
a <- mkUpdater (cGetTime c) (bConst (print "blah"))
a
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
