functional reactive programming

#1