def test_multibind(): j = Just.unit(2) assert lifted.multibind(j, m_add_two, m_add_two) == Just(6)
def test_multiapply(): j = Just.unit(curried_add) js = [Just(2), Just(2)] assert lifted.multiapply(j, *js) == Just(4)