/**
 * Immutable pair of values of different types.
 */ export class Pair < T , R > { constructor ( readonly _1 , readonly _2 ) { } } /**
 * Shortcut for constructing a Pair<T, R>.
 */ export const pair = < T , R > ( _1 , _2 ) => new Pair ( _1 , _2 ) ;