Documentation ¶
Index ¶
- func Elements(list types.Value) []types.Value
- func ElementsAsRefs(list types.Value) []*types.Ref
- func ElementsAsType(slice interface{}, list types.Value) interface{}
- func ElementsDatums(list types.Value) []*types.Datum
- func NewDatumData(src *types.Datum, _ *DatumData, _ ...types.Value)
- func NewList(initial ...types.Value) types.Value
- func NewListFromRefs(initial ...*types.Ref) types.Value
- func NewListFromSlice(initial interface{}) types.Value
- func ToValueSlice(initial interface{}) []types.Value
- type ConcreteList
- type DatumData
- type List
- type ListProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ElementsAsType ¶
slice should be an empty slice of the type we want for the output.
func NewListFromSlice ¶
func ToValueSlice ¶
converts from []<value> to []types.Value
Types ¶
type ConcreteList ¶
func (*ConcreteList) Append ¶
func (c *ConcreteList) Append(v *types.Ref)
func (*ConcreteList) Length ¶
func (c *ConcreteList) Length() int
func (*ConcreteList) RemoveIndex ¶
func (c *ConcreteList) RemoveIndex(i int)
func (*ConcreteList) RemoveLast ¶
func (c *ConcreteList) RemoveLast()
Click to show internal directories.
Click to hide internal directories.