func (rv *repeatVariable) TalesValue(property string) interface{} {
	switch property {
	case "index":
		return rv.sequencePosition
	case "number":
		return rv.sequencePosition + 1
	case "even":
		return rv.sequencePosition%2 == 0
	case "odd":
		return rv.sequencePosition%2 != 0
	case "start":
		return rv.sequencePosition == 0
	case "end":
		return rv.sequencePosition == rv.sequenceLength-1
	case "length":
		return rv.sequenceLength
	case "letter":
		return rv.Letter()
	case "Letter":
		return strings.ToUpper(rv.Letter())
	case "roman":
		return rv.Roman()
	case "Roman":
		return strings.ToUpper(rv.Roman())
	}
	return notFound
}
/*
TalesValue provides resolution of repeat variable properties
package tal
import (
	"fmt"
	"reflect"
	"strconv"
	"strings"
)
type TalesValue interface {
	TalesValue(property string) (result interface{})
}
type repeatVariable struct {
	sequence interface{}
	sequenceValue    reflect.Value
	sequenceLength   int
	sequencePosition int
	repeatId int
}