Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

rpair

Lib.rpair : 'a -> 'b -> 'b * 'a

Makes two values into a pair, in reverse order.

rpair x y returns (y,x).

Failure

Never fails.

See also

Lib.pair, Lib.swap, Lib.fst, Lib.snd, Lib.curry, Lib.uncurry