Haskell Netwire: wires of wires
问题 I'm playing around with the netwire package trying to get a feel for FRP, and I have a quick question. Starting with the following simple wires, I'm able to emit an event every 5 seconds (approx) myWire :: (Monad m, HasTime t s) => Wire s () m a Float myWire = timeF myWire' :: (Monad m, HasTime t s) => Wire s () m a Int myWire' = fmap round myWire myEvent :: (Monad m, HasTime t s) => Wire s () m a (Event Int) myEvent = periodic 5 . myWire' This is pretty nice and straight forward, but what I