tupleRange, tuplePrepend
Summary:
tupleRange<start, n>(tuple): return a tuple consisting of a range of elements
from the given tuple
tuplePrepend(x, tuple): return a tuple consisting of prepending x to the given
tuple.
For Lispies:
std::get<0>(tuple) is car.
tupleRange<1>(tuple) is cdr.
tuplePrepend(x, tuple) is cons.
Test Plan: test added
Reviewed By: lesha@fb.com
Subscribers: trunkagent, lesha, ilyam, folly-diffs@, yfeldblum, chalfant, jhj, alerer, kma, pamelavagata, tulloch
FB internal diff:
D2087568
Signature: t1:
2087568:
1432164681:
18795d0e8bb01f38ffc6949ac233f514ab098355