Reactive Programming implemented in haskell