Is there a reason why 'map' method in the Flow doesn't support instances of the superclass mapper?
Current signature: <X> Flow<X> map(Mapper<T, X> mapper); better: <X> Flow<X> map(Mapper<? super T, X> mapper); otherwise you can't write super mapper like <Integer>, <Long>, <Double> ... map(numberToString) ... Also other methods could be improved: <A> A reduce(Reducer<? super A, T> reducer, A initial); <X, Y> Flow<Y> map(Mapper2<? super T, X, Y> mapper, Flow<? extends X> flow); <X> Flow<X> mapcat(Mapper<? super T, Flow<X>> mapper); Denis --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tapestry.apache.org For additional commands, e-mail: dev-h...@tapestry.apache.org