code: function liftContextG(ctx, gen) {
    return liftContext(ctx, function() {
      return liftContextIterator(ctx, gen.apply(null, arguments));
    });
  }
docs: Same as `liftContext` but lifts generator function.
  
  @function M.liftContextG
  @param {MonadDict} ctx
  @param {GeneratorFunction} gen
  @return {Function}