Sorry, to be effective the project should also take in input the target tuple itself :)
Tuple3<x,x,x> reuse = tuple.project(reuse, 0,2,5)? On Wed, May 27, 2015 at 11:51 AM, Flavio Pompermaier <pomperma...@okkam.it> wrote: > Hi flinkers, > > it happens very often to me that I have to output a reuse tuple that > basically is a subset of the data contained of the input tuple..do you > think it could be useful to add a project method to Tuple class? > > So that to be able to write something like: > > Tuple3<x,x,x> reuse = tuple.project(0,2,5)? > > Best, > Flavio >