Versions in this module Expand all Collapse all v0 v0.1.0 Mar 11, 2014 Changes in this version + const ARITY + func All(fn func(interface{}) bool, s Seq) bool + func Any(fn func(el interface{}) bool, s Seq) (interface{}, bool) + func Reduce(fn ReduceFn, acc interface{}, s Seq) interface + func Size(s Seq) uint64 + func ToSlice(s Seq) []interface + func ToString(s Seq, dstart, dend string) string + type HashMap struct + func NewHashMap(kvs ...*KV) *HashMap + func (hm *HashMap) Del(key interface{}) (*HashMap, bool) + func (hm *HashMap) FirstRest() (interface{}, Seq, bool) + func (hm *HashMap) FirstRestKV() (*KV, *HashMap, bool) + func (hm *HashMap) Get(key interface{}) (interface{}, bool) + func (hm *HashMap) Set(key, val interface{}) (*HashMap, bool) + func (hm *HashMap) Size() uint64 + func (hm *HashMap) String() string + type KV struct + Key interface{} + Val interface{} + func KeyVal(key, val interface{}) *KV + func (kv *KV) Equal(v interface{}) bool + func (kv *KV) Hash(i uint32) uint32 + func (kv *KV) String() string + type Lazy struct + func NewLazy(t Thunk) *Lazy + func ToLazy(s Seq) *Lazy + func (l *Lazy) FirstRest() (interface{}, Seq, bool) + type List struct + func NewList(els ...interface{}) *List + func ToList(s Seq) *List + func (l *List) Append(el interface{}) *List + func (l *List) FirstRest() (interface{}, Seq, bool) + func (l *List) Nth(n uint64) (interface{}, bool) + func (l *List) Prepend(el interface{}) *List + func (l *List) PrependSeq(s Seq) *List + func (l *List) String() string + type ReduceFn func(acc, el interface{}) (interface{}, bool) + type Seq interface + FirstRest func() (interface{}, Seq, bool) + func Drop(n uint64, s Seq) Seq + func DropWhile(pred func(interface{}) bool, s Seq) Seq + func Filter(fn func(el interface{}) bool, s Seq) Seq + func Flatten(s Seq) Seq + func LFilter(fn func(interface{}) bool, s Seq) Seq + func LMap(fn func(interface{}) interface{}, s Seq) Seq + func LTake(n uint64, s Seq) Seq + func LTakeWhile(fn func(interface{}) bool, s Seq) Seq + func Map(fn func(interface{}) interface{}, s Seq) Seq + func Reverse(s Seq) Seq + func Take(n uint64, s Seq) Seq + func TakeWhile(pred func(interface{}) bool, s Seq) Seq + type Set struct + func NewSet(vals ...interface{}) *Set + func ToSet(s Seq) *Set + func (set *Set) DelVal(val interface{}) (*Set, bool) + func (set *Set) Difference(s Seq) *Set + func (set *Set) FirstRest() (interface{}, Seq, bool) + func (set *Set) GetVal(val interface{}) (interface{}, bool) + func (set *Set) Intersection(s Seq) *Set + func (set *Set) SetVal(val interface{}) (*Set, bool) + func (set *Set) Size() uint64 + func (set *Set) String() string + func (set *Set) SymDifference(s Seq) *Set + func (set *Set) Union(s Seq) *Set + type Setable interface + Equal func(interface{}) bool + Hash func(uint32) uint32 + type Thunk func() (interface{}, Thunk, bool)