code: def inits_t(wrap):
      
      return Transformation(
          'inits',
          lambda sequence: [wrap(sequence[:i]) for i in reversed(range(len(sequence) + 1))],
          {ExecutionStrategies.PRE_COMPUTE}
      )
docs: Transformation for Sequence.inits
      :param wrap: wrap children values with this
      :return: transformation