Proof-of-concept for implementing Rx primitives in Swift