curry / uncurry for Ran