def ap2(self): a = 17 b = 13 ja = Just(a) jb = Just(b) ja.product(jb).smap(_ + _).should.contain(a + b) ja.ap2(jb, _ + _).should.contain(a + b)