func NewList() List {
	l := make(list, 0, initListCap)
	return &l
}
NewList creates a new List.
package types
type List interface {
	Value
	LIndex(int64) (string, bool)
	LInsertBefore(string, string) int64
	LInsertAfter(string, string) int64
	LLen() int64
	LPop() (string, bool)
	LPush(...string) int64
	LRange(int64, int64) []string
	LRem(int64, string) int64
	LSet(int64, string) bool
	LTrim(int64, int64)
	RPop() (string, bool)
	RPush(...string) int64
}
const initListCap int = 10
var _ List = (*list)(nil)
type list []string