Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PersistentList ¶
type PersistentList interface { Head() (interface{}, bool) Tail() (PersistentList, bool) IsEmpty() bool Length() uint Add(head interface{}) PersistentList Insert(val interface{}, pos uint) (PersistentList, error) Get(pos uint) (interface{}, bool) Remove(pos uint) (PersistentList, error) Find(func(interface{}) bool) (interface{}, bool) FindIndex(func(interface{}) bool) int Map(func(interface{}) interface{}) []interface{} }
PersistentList What is this? :TODO:
var ( Empty PersistentList = &emptyList{} ErrEmptyList = errors.New("Empty List") )
Click to show internal directories.
Click to hide internal directories.