Documentation ¶
Overview ¶
Generated code; DO NOT EDIT.
Generated code; DO NOT EDIT.
Generated code; DO NOT EDIT.
Generated code; DO NOT EDIT.
Generated code; DO NOT EDIT.
Generated code; DO NOT EDIT.
Generated code; DO NOT EDIT.
Generated code; DO NOT EDIT.
Generated code; DO NOT EDIT.
Generated code; DO NOT EDIT.
Generated code; DO NOT EDIT.
Generated code; DO NOT EDIT.
Generated code; DO NOT EDIT.
Generated code; DO NOT EDIT.
Generated code; DO NOT EDIT.
Index ¶
- Variables
- type Address
- type AddressList
- func (rcv AddressList) Append(x Address) AddressList
- func (rcv AddressList) AppendAll(xs ...Address) AddressList
- func (rcv AddressList) AppendSlice(xs []Address) AddressList
- func (rcv AddressList) Apply(x int) Address
- func (rcv AddressList) ApplyOrElse(x int, fn func() Address) Address
- func (rcv AddressList) Concat(xs ...Address) AddressList
- func (rcv AddressList) ConcatSlice(xs []Address) AddressList
- func (rcv AddressList) Contains(a Address) bool
- func (rcv AddressList) ContainsNot(a Address) bool
- func (rcv AddressList) Count() int
- func (rcv AddressList) Distinct() AddressList
- func (rcv AddressList) DropWhile(fn func(Address) bool) AddressList
- func (rcv AddressList) Fill(num int, a Address) AddressList
- func (rcv AddressList) Filter(fn func(Address) bool) AddressList
- func (rcv AddressList) FilterNot(fn func(Address) bool) AddressList
- func (rcv AddressList) FlatMapToAddressList(fn func(Address) AddressList) AddressList
- func (rcv AddressList) FoldLeft(zero Address, fn func(acc Address, x Address) Address) Address
- func (rcv AddressList) FoldRight(zero Address, fn func(acc Address, x Address) Address) Address
- func (rcv AddressList) ForEach(fn func(Address))
- func (rcv AddressList) ForEachP(fn func(Address))
- func (rcv AddressList) ForEachPP(parallelism int, fn func(Address))
- func (rcv AddressList) ForEachPPP(parallelism int, fn func(Address), progressFn func())
- func (rcv AddressList) ForEachWithIndex(fn func(int, Address))
- func (rcv AddressList) ForEachWithLastFlag(fn func(bool, Address))
- func (rcv AddressList) Head() Address
- func (rcv AddressList) HeadOption() AddressOption
- func (rcv AddressList) Init() AddressList
- func (rcv AddressList) Intersect(xs AddressList) AddressList
- func (rcv AddressList) Intersperse(a Address) AddressList
- func (rcv AddressList) IsDefinedAt(x int) bool
- func (rcv AddressList) IsEmpty() bool
- func (rcv AddressList) IsNotEmpty() bool
- func (rcv AddressList) Last() Address
- func (rcv AddressList) Len() int
- func (rcv AddressList) Less(i, j int) bool
- func (rcv AddressList) MapToAddress(fn func(Address) Address) AddressList
- func (rcv AddressList) MapToAddressP(mapFn func(Address) Address) AddressList
- func (rcv AddressList) MapToAddressPP(parallelism int, mapFn func(Address) Address) AddressList
- func (rcv AddressList) MapToAddressPPP(parallelism int, mapFn func(Address) Address, progressFn func()) AddressList
- func (rcv AddressList) MapToAddressWithIndex(fn func(int, Address) Address) AddressList
- func (rcv AddressList) MkString(fn func(Address) string) String
- func (rcv AddressList) Partition(fn func(Address) bool) (AddressList, AddressList)
- func (rcv AddressList) RangeOf(from int, to int, fn func(int) Address) AddressList
- func (rcv AddressList) Reverse() AddressList
- func (rcv AddressList) Slice(from int, to int) AddressList
- func (rcv AddressList) Sort(fn func(i Address, j Address) bool) AddressList
- func (rcv AddressList) Swap(i, j int)
- func (rcv AddressList) Tablulate(num int, fn func(int) Address) AddressList
- func (rcv AddressList) Tail() AddressList
- func (rcv AddressList) TakeWhile(fn func(Address) bool) AddressList
- func (rcv AddressList) ToSlice() []Address
- type AddressNone
- func (rcv AddressNone) Apply2(a AddressOption, fn func(Address, Address) Address) AddressOption
- func (rcv AddressNone) Apply3(a AddressOption, b AddressOption, fn func(Address, Address, Address) Address) AddressOption
- func (rcv AddressNone) Apply4(a AddressOption, b AddressOption, c AddressOption, ...) AddressOption
- func (rcv AddressNone) Contains(a Address) bool
- func (rcv AddressNone) ContainsNot(a Address) bool
- func (rcv AddressNone) Count() int
- func (rcv AddressNone) FoldToString(zero string, fn func(Address) string) string
- func (rcv AddressNone) ForEach(fn func(Address))
- func (rcv AddressNone) Get() Address
- func (rcv AddressNone) GetOrElse(fn func() Address) Address
- func (rcv AddressNone) IsDefined() bool
- func (rcv AddressNone) IsEmpty() bool
- func (rcv AddressNone) IsNotEmpty() bool
- type AddressOption
- type AddressSome
- func (rcv AddressSome) Apply2(a AddressOption, fn func(Address, Address) Address) AddressOption
- func (rcv AddressSome) Apply3(a AddressOption, b AddressOption, fn func(Address, Address, Address) Address) AddressOption
- func (rcv AddressSome) Apply4(a AddressOption, b AddressOption, c AddressOption, ...) AddressOption
- func (rcv AddressSome) Contains(a Address) bool
- func (rcv AddressSome) ContainsNot(a Address) bool
- func (rcv AddressSome) Count() int
- func (rcv AddressSome) FoldToString(zero string, fn func(Address) string) string
- func (rcv AddressSome) ForEach(fn func(Address))
- func (rcv AddressSome) Get() Address
- func (rcv AddressSome) GetOrElse(fn func() Address) Address
- func (rcv AddressSome) IsDefined() bool
- func (rcv AddressSome) IsEmpty() bool
- func (rcv AddressSome) IsNotEmpty() bool
- type Cat
- type CatList
- func (rcv CatList) Append(x Cat) CatList
- func (rcv CatList) AppendAll(xs ...Cat) CatList
- func (rcv CatList) AppendSlice(xs []Cat) CatList
- func (rcv CatList) Apply(x int) Cat
- func (rcv CatList) ApplyOrElse(x int, fn func() Cat) Cat
- func (rcv CatList) Concat(xs ...Cat) CatList
- func (rcv CatList) ConcatSlice(xs []Cat) CatList
- func (rcv CatList) Contains(a Cat) bool
- func (rcv CatList) ContainsNot(a Cat) bool
- func (rcv CatList) Count() int
- func (rcv CatList) Distinct() CatList
- func (rcv CatList) DropWhile(fn func(Cat) bool) CatList
- func (rcv CatList) Fill(num int, a Cat) CatList
- func (rcv CatList) Filter(fn func(Cat) bool) CatList
- func (rcv CatList) FilterNot(fn func(Cat) bool) CatList
- func (rcv CatList) FlatMapToCatList(fn func(Cat) CatList) CatList
- func (rcv CatList) FoldLeft(zero Cat, fn func(acc Cat, x Cat) Cat) Cat
- func (rcv CatList) FoldRight(zero Cat, fn func(acc Cat, x Cat) Cat) Cat
- func (rcv CatList) ForEach(fn func(Cat))
- func (rcv CatList) ForEachP(fn func(Cat))
- func (rcv CatList) ForEachPP(parallelism int, fn func(Cat))
- func (rcv CatList) ForEachPPP(parallelism int, fn func(Cat), progressFn func())
- func (rcv CatList) ForEachWithIndex(fn func(int, Cat))
- func (rcv CatList) ForEachWithLastFlag(fn func(bool, Cat))
- func (rcv CatList) Head() Cat
- func (rcv CatList) HeadOption() CatOption
- func (rcv CatList) Init() CatList
- func (rcv CatList) Intersect(xs CatList) CatList
- func (rcv CatList) Intersperse(a Cat) CatList
- func (rcv CatList) IsDefinedAt(x int) bool
- func (rcv CatList) IsEmpty() bool
- func (rcv CatList) IsNotEmpty() bool
- func (rcv CatList) Last() Cat
- func (rcv CatList) Len() int
- func (rcv CatList) Less(i, j int) bool
- func (rcv CatList) MapToCat(fn func(Cat) Cat) CatList
- func (rcv CatList) MapToCatP(mapFn func(Cat) Cat) CatList
- func (rcv CatList) MapToCatPP(parallelism int, mapFn func(Cat) Cat) CatList
- func (rcv CatList) MapToCatPPP(parallelism int, mapFn func(Cat) Cat, progressFn func()) CatList
- func (rcv CatList) MapToCatWithIndex(fn func(int, Cat) Cat) CatList
- func (rcv CatList) MkString(fn func(Cat) string) String
- func (rcv CatList) Partition(fn func(Cat) bool) (CatList, CatList)
- func (rcv CatList) RangeOf(from int, to int, fn func(int) Cat) CatList
- func (rcv CatList) Reverse() CatList
- func (rcv CatList) Slice(from int, to int) CatList
- func (rcv CatList) Sort(fn func(i Cat, j Cat) bool) CatList
- func (rcv CatList) Swap(i, j int)
- func (rcv CatList) Tablulate(num int, fn func(int) Cat) CatList
- func (rcv CatList) Tail() CatList
- func (rcv CatList) TakeWhile(fn func(Cat) bool) CatList
- func (rcv CatList) ToSlice() []Cat
- type CatNone
- func (rcv CatNone) Apply2(a CatOption, fn func(Cat, Cat) Cat) CatOption
- func (rcv CatNone) Apply3(a CatOption, b CatOption, fn func(Cat, Cat, Cat) Cat) CatOption
- func (rcv CatNone) Apply4(a CatOption, b CatOption, c CatOption, fn func(Cat, Cat, Cat, Cat) Cat) CatOption
- func (rcv CatNone) Contains(a Cat) bool
- func (rcv CatNone) ContainsNot(a Cat) bool
- func (rcv CatNone) Count() int
- func (rcv CatNone) FoldToString(zero string, fn func(Cat) string) string
- func (rcv CatNone) ForEach(fn func(Cat))
- func (rcv CatNone) Get() Cat
- func (rcv CatNone) GetOrElse(fn func() Cat) Cat
- func (rcv CatNone) IsDefined() bool
- func (rcv CatNone) IsEmpty() bool
- func (rcv CatNone) IsNotEmpty() bool
- type CatOption
- type CatSome
- func (rcv CatSome) Apply2(a CatOption, fn func(Cat, Cat) Cat) CatOption
- func (rcv CatSome) Apply3(a CatOption, b CatOption, fn func(Cat, Cat, Cat) Cat) CatOption
- func (rcv CatSome) Apply4(a CatOption, b CatOption, c CatOption, fn func(Cat, Cat, Cat, Cat) Cat) CatOption
- func (rcv CatSome) Contains(a Cat) bool
- func (rcv CatSome) ContainsNot(a Cat) bool
- func (rcv CatSome) Count() int
- func (rcv CatSome) FoldToString(zero string, fn func(Cat) string) string
- func (rcv CatSome) ForEach(fn func(Cat))
- func (rcv CatSome) Get() Cat
- func (rcv CatSome) GetOrElse(fn func() Cat) Cat
- func (rcv CatSome) IsDefined() bool
- func (rcv CatSome) IsEmpty() bool
- func (rcv CatSome) IsNotEmpty() bool
- type Float
- func (rcv Float) Abs() Float
- func (rcv Float) Acos() Float
- func (rcv Float) Add(x Float) Float
- func (rcv Float) Apply(fn func(float64) float64) Float
- func (rcv Float) ApplyF(fn func(Float) Float) Float
- func (rcv Float) Asin() Float
- func (rcv Float) Atan() Float
- func (rcv Float) Cbrt() Float
- func (rcv Float) Ceil() Float
- func (rcv Float) Cos() Float
- func (rcv Float) Dim(y Float) Float
- func (rcv Float) E() Float
- func (rcv Float) Floor() Float
- func (rcv Float) Log() Float
- func (rcv Float) Log10() Float
- func (rcv Float) Log1p() Float
- func (rcv Float) Log2() Float
- func (rcv Float) Max(y Float) Float
- func (rcv Float) Min(y Float) Float
- func (rcv Float) MkString() String
- func (rcv Float) Multiply(x Float) Float
- func (rcv Float) Phi() Float
- func (rcv Float) Pi() Float
- func (rcv Float) Pow(y Float) Float
- func (rcv Float) Pow10(n int) Float
- func (rcv Float) Println()
- func (rcv Float) Remainder(y Float) Float
- func (rcv Float) Sin() Float
- func (rcv Float) Sincos() (Float, Float)
- func (rcv Float) Sqrt() Float
- func (rcv Float) Subtract(x Float) Float
- func (rcv Float) Tan() Float
- func (rcv Float) Unwrap() float64
- type FloatList
- func (rcv FloatList) Append(x Float) FloatList
- func (rcv FloatList) AppendAll(xs ...Float) FloatList
- func (rcv FloatList) AppendSlice(xs []Float) FloatList
- func (rcv FloatList) Apply(x int) Float
- func (rcv FloatList) ApplyOrElse(x int, fn func() Float) Float
- func (rcv FloatList) Concat(xs ...Float) FloatList
- func (rcv FloatList) ConcatSlice(xs []Float) FloatList
- func (rcv FloatList) Contains(a Float) bool
- func (rcv FloatList) ContainsNot(a Float) bool
- func (rcv FloatList) Count() int
- func (rcv FloatList) Distinct() FloatList
- func (rcv FloatList) DropWhile(fn func(Float) bool) FloatList
- func (rcv FloatList) Fill(num int, a Float) FloatList
- func (rcv FloatList) Filter(fn func(Float) bool) FloatList
- func (rcv FloatList) FilterNot(fn func(Float) bool) FloatList
- func (rcv FloatList) FlatMapToFloatList(fn func(Float) FloatList) FloatList
- func (rcv FloatList) FoldLeft(zero Float, fn func(acc Float, x Float) Float) Float
- func (rcv FloatList) FoldRight(zero Float, fn func(acc Float, x Float) Float) Float
- func (rcv FloatList) ForEach(fn func(Float))
- func (rcv FloatList) ForEachP(fn func(Float))
- func (rcv FloatList) ForEachPP(parallelism int, fn func(Float))
- func (rcv FloatList) ForEachPPP(parallelism int, fn func(Float), progressFn func())
- func (rcv FloatList) ForEachWithIndex(fn func(int, Float))
- func (rcv FloatList) ForEachWithLastFlag(fn func(bool, Float))
- func (rcv FloatList) Head() Float
- func (rcv FloatList) HeadOption() FloatOption
- func (rcv FloatList) Init() FloatList
- func (rcv FloatList) Intersect(xs FloatList) FloatList
- func (rcv FloatList) Intersperse(a Float) FloatList
- func (rcv FloatList) IsDefinedAt(x int) bool
- func (rcv FloatList) IsEmpty() bool
- func (rcv FloatList) IsNotEmpty() bool
- func (rcv FloatList) Last() Float
- func (rcv FloatList) Len() int
- func (rcv FloatList) Less(i, j int) bool
- func (rcv FloatList) MapToFloat(fn func(Float) Float) FloatList
- func (rcv FloatList) MapToFloatP(mapFn func(Float) Float) FloatList
- func (rcv FloatList) MapToFloatPP(parallelism int, mapFn func(Float) Float) FloatList
- func (rcv FloatList) MapToFloatPPP(parallelism int, mapFn func(Float) Float, progressFn func()) FloatList
- func (rcv FloatList) MapToFloatWithIndex(fn func(int, Float) Float) FloatList
- func (rcv FloatList) MkString(fn func(Float) string) String
- func (rcv FloatList) Partition(fn func(Float) bool) (FloatList, FloatList)
- func (rcv FloatList) RangeOf(from int, to int, fn func(int) Float) FloatList
- func (rcv FloatList) Reverse() FloatList
- func (rcv FloatList) Slice(from int, to int) FloatList
- func (rcv FloatList) Sort(fn func(i Float, j Float) bool) FloatList
- func (rcv FloatList) Swap(i, j int)
- func (rcv FloatList) Tablulate(num int, fn func(int) Float) FloatList
- func (rcv FloatList) Tail() FloatList
- func (rcv FloatList) TakeWhile(fn func(Float) bool) FloatList
- func (rcv FloatList) ToSlice() []Float
- type FloatNone
- func (rcv FloatNone) Apply2(a FloatOption, fn func(Float, Float) Float) FloatOption
- func (rcv FloatNone) Apply3(a FloatOption, b FloatOption, fn func(Float, Float, Float) Float) FloatOption
- func (rcv FloatNone) Apply4(a FloatOption, b FloatOption, c FloatOption, ...) FloatOption
- func (rcv FloatNone) Contains(a Float) bool
- func (rcv FloatNone) ContainsNot(a Float) bool
- func (rcv FloatNone) Count() int
- func (rcv FloatNone) FoldToString(zero string, fn func(Float) string) string
- func (rcv FloatNone) ForEach(fn func(Float))
- func (rcv FloatNone) Get() Float
- func (rcv FloatNone) GetOrElse(fn func() Float) Float
- func (rcv FloatNone) IsDefined() bool
- func (rcv FloatNone) IsEmpty() bool
- func (rcv FloatNone) IsNotEmpty() bool
- type FloatOption
- type FloatSome
- func (rcv FloatSome) Apply2(a FloatOption, fn func(Float, Float) Float) FloatOption
- func (rcv FloatSome) Apply3(a FloatOption, b FloatOption, fn func(Float, Float, Float) Float) FloatOption
- func (rcv FloatSome) Apply4(a FloatOption, b FloatOption, c FloatOption, ...) FloatOption
- func (rcv FloatSome) Contains(a Float) bool
- func (rcv FloatSome) ContainsNot(a Float) bool
- func (rcv FloatSome) Count() int
- func (rcv FloatSome) FoldToString(zero string, fn func(Float) string) string
- func (rcv FloatSome) ForEach(fn func(Float))
- func (rcv FloatSome) Get() Float
- func (rcv FloatSome) GetOrElse(fn func() Float) Float
- func (rcv FloatSome) IsDefined() bool
- func (rcv FloatSome) IsEmpty() bool
- func (rcv FloatSome) IsNotEmpty() bool
- type IntList
- func (rcv IntList) Append(x int) IntList
- func (rcv IntList) AppendAll(xs ...int) IntList
- func (rcv IntList) AppendSlice(xs []int) IntList
- func (rcv IntList) Apply(x int) int
- func (rcv IntList) ApplyOrElse(x int, fn func() int) int
- func (rcv IntList) Concat(xs ...int) IntList
- func (rcv IntList) ConcatSlice(xs []int) IntList
- func (rcv IntList) Contains(a int) bool
- func (rcv IntList) ContainsNot(a int) bool
- func (rcv IntList) Count() int
- func (rcv IntList) Distinct() IntList
- func (rcv IntList) DropWhile(fn func(int) bool) IntList
- func (rcv IntList) Fill(num int, a int) IntList
- func (rcv IntList) Filter(fn func(int) bool) IntList
- func (rcv IntList) FilterNot(fn func(int) bool) IntList
- func (rcv IntList) FlatMapToCatList(fn func(int) CatList) CatList
- func (rcv IntList) FlatMapToIntList(fn func(int) IntList) IntList
- func (rcv IntList) FlatMapToStringList(fn func(int) StringList) StringList
- func (rcv IntList) FoldLeft(zero int, fn func(acc int, x int) int) int
- func (rcv IntList) FoldRight(zero int, fn func(acc int, x int) int) int
- func (rcv IntList) ForEach(fn func(int))
- func (rcv IntList) ForEachP(fn func(int))
- func (rcv IntList) ForEachPP(parallelism int, fn func(int))
- func (rcv IntList) ForEachPPP(parallelism int, fn func(int), progressFn func())
- func (rcv IntList) ForEachWithIndex(fn func(int, int))
- func (rcv IntList) ForEachWithLastFlag(fn func(bool, int))
- func (rcv IntList) Head() int
- func (rcv IntList) HeadOption() IntOption
- func (rcv IntList) Init() IntList
- func (rcv IntList) Intersect(xs IntList) IntList
- func (rcv IntList) Intersperse(a int) IntList
- func (rcv IntList) IsDefinedAt(x int) bool
- func (rcv IntList) IsEmpty() bool
- func (rcv IntList) IsNotEmpty() bool
- func (rcv IntList) Last() int
- func (rcv IntList) Len() int
- func (rcv IntList) Less(i, j int) bool
- func (rcv IntList) MapToInt(fn func(int) int) IntList
- func (rcv IntList) MapToIntP(mapFn func(int) int) IntList
- func (rcv IntList) MapToIntPP(parallelism int, mapFn func(int) int) IntList
- func (rcv IntList) MapToIntPPP(parallelism int, mapFn func(int) int, progressFn func()) IntList
- func (rcv IntList) MapToIntWithIndex(fn func(int, int) int) IntList
- func (rcv IntList) MapToString(fn func(int) string) StringList
- func (rcv IntList) MapToStringP(mapFn func(int) string) StringList
- func (rcv IntList) MapToStringPP(parallelism int, mapFn func(int) string) StringList
- func (rcv IntList) MapToStringPPP(parallelism int, mapFn func(int) string, progressFn func()) StringList
- func (rcv IntList) MapToStringWithIndex(fn func(int, int) string) StringList
- func (rcv IntList) MapToStringWithLastFlag(fn func(bool, int) string) StringList
- func (rcv IntList) MkString(fn func(int) string) String
- func (rcv IntList) Partition(fn func(int) bool) (IntList, IntList)
- func (rcv IntList) Range(from int, to int) IntList
- func (rcv IntList) RangeOf(from int, to int, fn func(int) int) IntList
- func (rcv IntList) Reverse() IntList
- func (rcv IntList) Slice(from int, to int) IntList
- func (rcv IntList) Sort(fn func(i int, j int) bool) IntList
- func (rcv IntList) Swap(i, j int)
- func (rcv IntList) Tablulate(num int, fn func(int) int) IntList
- func (rcv IntList) Tail() IntList
- func (rcv IntList) TakeWhile(fn func(int) bool) IntList
- func (rcv IntList) ToSlice() []int
- type IntNone
- func (rcv IntNone) Apply2(a IntOption, fn func(int, int) int) IntOption
- func (rcv IntNone) Apply3(a IntOption, b IntOption, fn func(int, int, int) int) IntOption
- func (rcv IntNone) Apply4(a IntOption, b IntOption, c IntOption, fn func(int, int, int, int) int) IntOption
- func (rcv IntNone) Contains(a int) bool
- func (rcv IntNone) ContainsNot(a int) bool
- func (rcv IntNone) Count() int
- func (rcv IntNone) FoldToString(zero string, fn func(int) string) string
- func (rcv IntNone) ForEach(fn func(int))
- func (rcv IntNone) Get() int
- func (rcv IntNone) GetOrElse(fn func() int) int
- func (rcv IntNone) IsDefined() bool
- func (rcv IntNone) IsEmpty() bool
- func (rcv IntNone) IsNotEmpty() bool
- type IntOption
- type IntSome
- func (rcv IntSome) Apply2(a IntOption, fn func(int, int) int) IntOption
- func (rcv IntSome) Apply3(a IntOption, b IntOption, fn func(int, int, int) int) IntOption
- func (rcv IntSome) Apply4(a IntOption, b IntOption, c IntOption, fn func(int, int, int, int) int) IntOption
- func (rcv IntSome) Contains(a int) bool
- func (rcv IntSome) ContainsNot(a int) bool
- func (rcv IntSome) Count() int
- func (rcv IntSome) FoldToString(zero string, fn func(int) string) string
- func (rcv IntSome) ForEach(fn func(int))
- func (rcv IntSome) Get() int
- func (rcv IntSome) GetOrElse(fn func() int) int
- func (rcv IntSome) IsDefined() bool
- func (rcv IntSome) IsEmpty() bool
- func (rcv IntSome) IsNotEmpty() bool
- type Person
- type PersonList
- func (rcv PersonList) Append(x Person) PersonList
- func (rcv PersonList) AppendAll(xs ...Person) PersonList
- func (rcv PersonList) AppendSlice(xs []Person) PersonList
- func (rcv PersonList) Apply(x int) Person
- func (rcv PersonList) ApplyOrElse(x int, fn func() Person) Person
- func (rcv PersonList) Concat(xs ...Person) PersonList
- func (rcv PersonList) ConcatSlice(xs []Person) PersonList
- func (rcv PersonList) Contains(a Person) bool
- func (rcv PersonList) ContainsNot(a Person) bool
- func (rcv PersonList) Count() int
- func (rcv PersonList) Distinct() PersonList
- func (rcv PersonList) DropWhile(fn func(Person) bool) PersonList
- func (rcv PersonList) Fill(num int, a Person) PersonList
- func (rcv PersonList) Filter(fn func(Person) bool) PersonList
- func (rcv PersonList) FilterNot(fn func(Person) bool) PersonList
- func (rcv PersonList) FlatMapToPersonList(fn func(Person) PersonList) PersonList
- func (rcv PersonList) FoldLeft(zero Person, fn func(acc Person, x Person) Person) Person
- func (rcv PersonList) FoldRight(zero Person, fn func(acc Person, x Person) Person) Person
- func (rcv PersonList) ForEach(fn func(Person))
- func (rcv PersonList) ForEachP(fn func(Person))
- func (rcv PersonList) ForEachPP(parallelism int, fn func(Person))
- func (rcv PersonList) ForEachPPP(parallelism int, fn func(Person), progressFn func())
- func (rcv PersonList) ForEachWithIndex(fn func(int, Person))
- func (rcv PersonList) ForEachWithLastFlag(fn func(bool, Person))
- func (rcv PersonList) Head() Person
- func (rcv PersonList) HeadOption() PersonOption
- func (rcv PersonList) Init() PersonList
- func (rcv PersonList) Intersect(xs PersonList) PersonList
- func (rcv PersonList) Intersperse(a Person) PersonList
- func (rcv PersonList) IsDefinedAt(x int) bool
- func (rcv PersonList) IsEmpty() bool
- func (rcv PersonList) IsNotEmpty() bool
- func (rcv PersonList) Last() Person
- func (rcv PersonList) Len() int
- func (rcv PersonList) Less(i, j int) bool
- func (rcv PersonList) MapToCat(fn func(Person) Cat) CatList
- func (rcv PersonList) MapToCatP(mapFn func(Person) Cat) CatList
- func (rcv PersonList) MapToCatPP(parallelism int, mapFn func(Person) Cat) CatList
- func (rcv PersonList) MapToCatPPP(parallelism int, mapFn func(Person) Cat, progressFn func()) CatList
- func (rcv PersonList) MapToCatWithIndex(fn func(int, Person) Cat) CatList
- func (rcv PersonList) MapToCatWithLastFlag(fn func(bool, Person) Cat) CatList
- func (rcv PersonList) MapToPerson(fn func(Person) Person) PersonList
- func (rcv PersonList) MapToPersonP(mapFn func(Person) Person) PersonList
- func (rcv PersonList) MapToPersonPP(parallelism int, mapFn func(Person) Person) PersonList
- func (rcv PersonList) MapToPersonPPP(parallelism int, mapFn func(Person) Person, progressFn func()) PersonList
- func (rcv PersonList) MapToPersonWithIndex(fn func(int, Person) Person) PersonList
- func (rcv PersonList) MkString(fn func(Person) string) String
- func (rcv PersonList) Partition(fn func(Person) bool) (PersonList, PersonList)
- func (rcv PersonList) RangeOf(from int, to int, fn func(int) Person) PersonList
- func (rcv PersonList) Reverse() PersonList
- func (rcv PersonList) Slice(from int, to int) PersonList
- func (rcv PersonList) Sort(fn func(i Person, j Person) bool) PersonList
- func (rcv PersonList) Swap(i, j int)
- func (rcv PersonList) Tablulate(num int, fn func(int) Person) PersonList
- func (rcv PersonList) Tail() PersonList
- func (rcv PersonList) TakeWhile(fn func(Person) bool) PersonList
- func (rcv PersonList) ToSlice() []Person
- type PersonNone
- func (rcv PersonNone) Apply2(a PersonOption, fn func(Person, Person) Person) PersonOption
- func (rcv PersonNone) Apply3(a PersonOption, b PersonOption, fn func(Person, Person, Person) Person) PersonOption
- func (rcv PersonNone) Apply4(a PersonOption, b PersonOption, c PersonOption, ...) PersonOption
- func (rcv PersonNone) Contains(a Person) bool
- func (rcv PersonNone) ContainsNot(a Person) bool
- func (rcv PersonNone) Count() int
- func (rcv PersonNone) FoldToString(zero string, fn func(Person) string) string
- func (rcv PersonNone) ForEach(fn func(Person))
- func (rcv PersonNone) Get() Person
- func (rcv PersonNone) GetOrElse(fn func() Person) Person
- func (rcv PersonNone) IsDefined() bool
- func (rcv PersonNone) IsEmpty() bool
- func (rcv PersonNone) IsNotEmpty() bool
- type PersonOption
- type PersonSome
- func (rcv PersonSome) Apply2(a PersonOption, fn func(Person, Person) Person) PersonOption
- func (rcv PersonSome) Apply3(a PersonOption, b PersonOption, fn func(Person, Person, Person) Person) PersonOption
- func (rcv PersonSome) Apply4(a PersonOption, b PersonOption, c PersonOption, ...) PersonOption
- func (rcv PersonSome) Contains(a Person) bool
- func (rcv PersonSome) ContainsNot(a Person) bool
- func (rcv PersonSome) Count() int
- func (rcv PersonSome) FoldToString(zero string, fn func(Person) string) string
- func (rcv PersonSome) ForEach(fn func(Person))
- func (rcv PersonSome) Get() Person
- func (rcv PersonSome) GetOrElse(fn func() Person) Person
- func (rcv PersonSome) IsDefined() bool
- func (rcv PersonSome) IsEmpty() bool
- func (rcv PersonSome) IsNotEmpty() bool
- type RangeIterator
- func (rcv RangeIterator) ForEach(fn func())
- func (rcv RangeIterator) ForEachWithIndex(fn func(int))
- func (rcv RangeIterator) ForEachWithIndexWithReturnFunc(fn func(int), ret func(int) bool)
- func (rcv RangeIterator) ForEachWithLastFlag(fn func(bool))
- func (rcv RangeIterator) ForEachWithReturnFunc(fn func(), ret func(int) bool)
- func (rcv RangeIterator) ToIntList() IntList
- func (rcv RangeIterator) WithStep(step int) RangeIterator
- type String
- func (s String) Append(str string) String
- func (s String) Contains(that string) bool
- func (s String) Count() int
- func (s String) HasPrefix(prefix string) bool
- func (s String) HasSuffix(suffix string) bool
- func (s String) IsEmpty() bool
- func (s String) IsNotEmpty() bool
- func (s String) Map(f func(string) string) String
- func (s String) NotContains(that string) bool
- func (s String) QueryEscape() String
- func (s String) QueryUnEscape() (String, error)
- func (s String) ReplaceAll(oldString, newString string) String
- func (s String) Split(sep string) StringList
- func (s String) Str() string
- func (s String) ToBytes() []byte
- func (s String) ToLower() String
- func (s String) ToString() string
- func (s String) ToTitle() String
- func (s String) ToUpper() String
- func (s String) TrimLeft(cutset string) String
- func (s String) TrimPrefix(prefix string) String
- func (s String) TrimSpace() String
- func (s String) TrimSuffix(suffix string) String
- type StringList
- func (rcv StringList) Append(x string) StringList
- func (rcv StringList) AppendAll(xs ...string) StringList
- func (rcv StringList) AppendSlice(xs []string) StringList
- func (rcv StringList) Apply(x int) string
- func (rcv StringList) ApplyOrElse(x int, fn func() string) string
- func (rcv StringList) Concat(xs ...string) StringList
- func (rcv StringList) ConcatSlice(xs []string) StringList
- func (rcv StringList) Contains(a string) bool
- func (rcv StringList) ContainsNot(a string) bool
- func (rcv StringList) Count() int
- func (rcv StringList) Distinct() StringList
- func (rcv StringList) DropWhile(fn func(string) bool) StringList
- func (rcv StringList) Fill(num int, a string) StringList
- func (rcv StringList) Filter(fn func(string) bool) StringList
- func (rcv StringList) FilterNot(fn func(string) bool) StringList
- func (rcv StringList) FlatMapToCatList(fn func(string) CatList) CatList
- func (rcv StringList) FlatMapToStringList(fn func(string) StringList) StringList
- func (rcv StringList) FoldLeft(zero string, fn func(acc string, x string) string) string
- func (rcv StringList) FoldRight(zero string, fn func(acc string, x string) string) string
- func (rcv StringList) ForEach(fn func(string))
- func (rcv StringList) ForEachP(fn func(string))
- func (rcv StringList) ForEachPP(parallelism int, fn func(string))
- func (rcv StringList) ForEachPPP(parallelism int, fn func(string), progressFn func())
- func (rcv StringList) ForEachWithIndex(fn func(int, string))
- func (rcv StringList) ForEachWithLastFlag(fn func(bool, string))
- func (rcv StringList) Head() string
- func (rcv StringList) HeadOption() StringOption
- func (rcv StringList) Init() StringList
- func (rcv StringList) Intersect(xs StringList) StringList
- func (rcv StringList) Intersperse(a string) StringList
- func (rcv StringList) IsDefinedAt(x int) bool
- func (rcv StringList) IsEmpty() bool
- func (rcv StringList) IsNotEmpty() bool
- func (rcv StringList) Join(sep string) String
- func (rcv StringList) Last() string
- func (rcv StringList) Len() int
- func (rcv StringList) Less(i, j int) bool
- func (rcv StringList) MapToInt(fn func(string) int) IntList
- func (rcv StringList) MapToIntP(mapFn func(string) int) IntList
- func (rcv StringList) MapToIntPP(parallelism int, mapFn func(string) int) IntList
- func (rcv StringList) MapToIntPPP(parallelism int, mapFn func(string) int, progressFn func()) IntList
- func (rcv StringList) MapToIntWithIndex(fn func(int, string) int) IntList
- func (rcv StringList) MapToIntWithLastFlag(fn func(bool, string) int) IntList
- func (rcv StringList) MapToString(fn func(string) string) StringList
- func (rcv StringList) MapToStringP(mapFn func(string) string) StringList
- func (rcv StringList) MapToStringPP(parallelism int, mapFn func(string) string) StringList
- func (rcv StringList) MapToStringPPP(parallelism int, mapFn func(string) string, progressFn func()) StringList
- func (rcv StringList) MapToStringWithIndex(fn func(int, string) string) StringList
- func (rcv StringList) MkString(fn func(string) string) String
- func (rcv StringList) Partition(fn func(string) bool) (StringList, StringList)
- func (rcv StringList) RangeOf(from int, to int, fn func(int) string) StringList
- func (rcv StringList) Reverse() StringList
- func (rcv StringList) Slice(from int, to int) StringList
- func (rcv StringList) Sort(fn func(i string, j string) bool) StringList
- func (rcv StringList) Swap(i, j int)
- func (rcv StringList) Tablulate(num int, fn func(int) string) StringList
- func (rcv StringList) Tail() StringList
- func (rcv StringList) TakeWhile(fn func(string) bool) StringList
- func (rcv StringList) ToSlice() []string
- type StringNone
- func (rcv StringNone) Apply2(a StringOption, fn func(string, string) string) StringOption
- func (rcv StringNone) Apply3(a StringOption, b StringOption, fn func(string, string, string) string) StringOption
- func (rcv StringNone) Apply4(a StringOption, b StringOption, c StringOption, ...) StringOption
- func (rcv StringNone) Contains(a string) bool
- func (rcv StringNone) ContainsNot(a string) bool
- func (rcv StringNone) Count() int
- func (rcv StringNone) FoldToString(zero string, fn func(string) string) string
- func (rcv StringNone) ForEach(fn func(string))
- func (rcv StringNone) Get() string
- func (rcv StringNone) GetOrElse(fn func() string) string
- func (rcv StringNone) IsDefined() bool
- func (rcv StringNone) IsEmpty() bool
- func (rcv StringNone) IsNotEmpty() bool
- type StringOption
- type StringSome
- func (rcv StringSome) Apply2(a StringOption, fn func(string, string) string) StringOption
- func (rcv StringSome) Apply3(a StringOption, b StringOption, fn func(string, string, string) string) StringOption
- func (rcv StringSome) Apply4(a StringOption, b StringOption, c StringOption, ...) StringOption
- func (rcv StringSome) Contains(a string) bool
- func (rcv StringSome) ContainsNot(a string) bool
- func (rcv StringSome) Count() int
- func (rcv StringSome) FoldToString(zero string, fn func(string) string) string
- func (rcv StringSome) ForEach(fn func(string))
- func (rcv StringSome) Get() string
- func (rcv StringSome) GetOrElse(fn func() string) string
- func (rcv StringSome) IsDefined() bool
- func (rcv StringSome) IsEmpty() bool
- func (rcv StringSome) IsNotEmpty() bool
Constants ¶
This section is empty.
Variables ¶
var AddressListLessFunc = func(i, j int) bool { panic("Not implemented") }
implementation of sort.Interface
var CatListLessFunc = func(i, j int) bool { panic("Not implemented") }
implementation of sort.Interface
var FloatListLessFunc = func(i, j int) bool { panic("Not implemented") }
implementation of sort.Interface
var IntListLessFunc = func(i, j int) bool { panic("Not implemented") }
implementation of sort.Interface
var PersonListLessFunc = func(i, j int) bool { panic("Not implemented") }
implementation of sort.Interface
var StringListLessFunc = func(i, j int) bool { panic("Not implemented") }
implementation of sort.Interface
Functions ¶
This section is empty.
Types ¶
type AddressList ¶
type AddressList []Address
func EmptyAddressList ¶
func EmptyAddressList() AddressList
func (AddressList) Append ¶
func (rcv AddressList) Append(x Address) AddressList
append an element to the end of the list
func (AddressList) AppendAll ¶
func (rcv AddressList) AppendAll(xs ...Address) AddressList
append elements to the end of the list
func (AddressList) AppendSlice ¶
func (rcv AddressList) AppendSlice(xs []Address) AddressList
append a slice to the end of the list
func (AddressList) Apply ¶
func (rcv AddressList) Apply(x int) Address
returns the element at the index
func (AddressList) ApplyOrElse ¶
func (rcv AddressList) ApplyOrElse(x int, fn func() Address) Address
func (AddressList) Concat ¶
func (rcv AddressList) Concat(xs ...Address) AddressList
alias for AppendAll
func (AddressList) ConcatSlice ¶
func (rcv AddressList) ConcatSlice(xs []Address) AddressList
alias for AppendSlice
func (AddressList) Contains ¶
func (rcv AddressList) Contains(a Address) bool
func (AddressList) ContainsNot ¶
func (rcv AddressList) ContainsNot(a Address) bool
func (AddressList) Count ¶
func (rcv AddressList) Count() int
func (AddressList) Distinct ¶
func (rcv AddressList) Distinct() AddressList
func (AddressList) DropWhile ¶
func (rcv AddressList) DropWhile(fn func(Address) bool) AddressList
alias for FilterNot
func (AddressList) Fill ¶
func (rcv AddressList) Fill(num int, a Address) AddressList
create a new list prefilled
func (AddressList) Filter ¶
func (rcv AddressList) Filter(fn func(Address) bool) AddressList
Selects all elements of this list which satisfy a predicate.
func (AddressList) FilterNot ¶
func (rcv AddressList) FilterNot(fn func(Address) bool) AddressList
Selects all elements of this list which do not satisfy a predicate.
func (AddressList) FlatMapToAddressList ¶
func (rcv AddressList) FlatMapToAddressList(fn func(Address) AddressList) AddressList
func (AddressList) ForEach ¶
func (rcv AddressList) ForEach(fn func(Address))
func (AddressList) ForEachP ¶
func (rcv AddressList) ForEachP(fn func(Address))
func (AddressList) ForEachPP ¶
func (rcv AddressList) ForEachPP(parallelism int, fn func(Address))
func (AddressList) ForEachPPP ¶
func (rcv AddressList) ForEachPPP(parallelism int, fn func(Address), progressFn func())
func (AddressList) ForEachWithIndex ¶
func (rcv AddressList) ForEachWithIndex(fn func(int, Address))
func (AddressList) ForEachWithLastFlag ¶
func (rcv AddressList) ForEachWithLastFlag(fn func(bool, Address))
func (AddressList) HeadOption ¶
func (rcv AddressList) HeadOption() AddressOption
func (AddressList) Init ¶
func (rcv AddressList) Init() AddressList
returns the initial part of the collection, without the last element
func (AddressList) Intersect ¶
func (rcv AddressList) Intersect(xs AddressList) AddressList
return the intersection of the list and another list
func (AddressList) Intersperse ¶
func (rcv AddressList) Intersperse(a Address) AddressList
func (AddressList) IsDefinedAt ¶
func (rcv AddressList) IsDefinedAt(x int) bool
tests whether this sequence contains the given index
func (AddressList) IsEmpty ¶
func (rcv AddressList) IsEmpty() bool
func (AddressList) IsNotEmpty ¶
func (rcv AddressList) IsNotEmpty() bool
func (AddressList) Last ¶
func (rcv AddressList) Last() Address
func (AddressList) Less ¶
func (rcv AddressList) Less(i, j int) bool
implementation of sort.Interface
func (AddressList) MapToAddress ¶
func (rcv AddressList) MapToAddress(fn func(Address) Address) AddressList
func (AddressList) MapToAddressP ¶
func (rcv AddressList) MapToAddressP(mapFn func(Address) Address) AddressList
func (AddressList) MapToAddressPP ¶
func (rcv AddressList) MapToAddressPP(parallelism int, mapFn func(Address) Address) AddressList
func (AddressList) MapToAddressPPP ¶
func (rcv AddressList) MapToAddressPPP(parallelism int, mapFn func(Address) Address, progressFn func()) AddressList
func (AddressList) MapToAddressWithIndex ¶
func (rcv AddressList) MapToAddressWithIndex(fn func(int, Address) Address) AddressList
func (AddressList) Partition ¶
func (rcv AddressList) Partition(fn func(Address) bool) (AddressList, AddressList)
func (AddressList) RangeOf ¶
func (rcv AddressList) RangeOf(from int, to int, fn func(int) Address) AddressList
func (AddressList) Reverse ¶
func (rcv AddressList) Reverse() AddressList
func (AddressList) Slice ¶
func (rcv AddressList) Slice(from int, to int) AddressList
func (AddressList) Sort ¶
func (rcv AddressList) Sort(fn func(i Address, j Address) bool) AddressList
i and j are two objects that need to be compared, and based on that comparison the List will be sorted
func (AddressList) Tablulate ¶
func (rcv AddressList) Tablulate(num int, fn func(int) Address) AddressList
func (AddressList) Tail ¶
func (rcv AddressList) Tail() AddressList
The rest of the collection without its first element.
func (AddressList) TakeWhile ¶
func (rcv AddressList) TakeWhile(fn func(Address) bool) AddressList
alias for Filter
type AddressNone ¶
type AddressNone struct { }
func (AddressNone) Apply2 ¶
func (rcv AddressNone) Apply2(a AddressOption, fn func(Address, Address) Address) AddressOption
func (AddressNone) Apply3 ¶
func (rcv AddressNone) Apply3(a AddressOption, b AddressOption, fn func(Address, Address, Address) Address) AddressOption
func (AddressNone) Apply4 ¶
func (rcv AddressNone) Apply4(a AddressOption, b AddressOption, c AddressOption, fn func(Address, Address, Address, Address) Address) AddressOption
func (AddressNone) Contains ¶
func (rcv AddressNone) Contains(a Address) bool
func (AddressNone) ContainsNot ¶
func (rcv AddressNone) ContainsNot(a Address) bool
func (AddressNone) Count ¶
func (rcv AddressNone) Count() int
func (AddressNone) FoldToString ¶
func (rcv AddressNone) FoldToString(zero string, fn func(Address) string) string
func (AddressNone) ForEach ¶
func (rcv AddressNone) ForEach(fn func(Address))
func (AddressNone) GetOrElse ¶
func (rcv AddressNone) GetOrElse(fn func() Address) Address
func (AddressNone) IsDefined ¶
func (rcv AddressNone) IsDefined() bool
func (AddressNone) IsEmpty ¶
func (rcv AddressNone) IsEmpty() bool
func (AddressNone) IsNotEmpty ¶
func (rcv AddressNone) IsNotEmpty() bool
type AddressOption ¶
type AddressOption interface { Get() Address GetOrElse(fn func() Address) Address ForEach(fn func(Address)) IsEmpty() bool IsNotEmpty() bool IsDefined() bool Count() int Contains(a Address) bool ContainsNot(a Address) bool FoldToString(zero string, fn func(Address) string) string Apply2(a AddressOption, fn func(Address, Address) Address) AddressOption Apply3(a AddressOption, b AddressOption, fn func(Address, Address, Address) Address) AddressOption Apply4(a AddressOption, b AddressOption, c AddressOption, fn func(Address, Address, Address, Address) Address) AddressOption }
func OptionOfAddress ¶
func OptionOfAddress(a *Address) AddressOption
type AddressSome ¶
type AddressSome struct {
// contains filtered or unexported fields
}
func (AddressSome) Apply2 ¶
func (rcv AddressSome) Apply2(a AddressOption, fn func(Address, Address) Address) AddressOption
func (AddressSome) Apply3 ¶
func (rcv AddressSome) Apply3(a AddressOption, b AddressOption, fn func(Address, Address, Address) Address) AddressOption
func (AddressSome) Apply4 ¶
func (rcv AddressSome) Apply4(a AddressOption, b AddressOption, c AddressOption, fn func(Address, Address, Address, Address) Address) AddressOption
func (AddressSome) Contains ¶
func (rcv AddressSome) Contains(a Address) bool
func (AddressSome) ContainsNot ¶
func (rcv AddressSome) ContainsNot(a Address) bool
func (AddressSome) Count ¶
func (rcv AddressSome) Count() int
func (AddressSome) FoldToString ¶
func (rcv AddressSome) FoldToString(zero string, fn func(Address) string) string
func (AddressSome) ForEach ¶
func (rcv AddressSome) ForEach(fn func(Address))
func (AddressSome) GetOrElse ¶
func (rcv AddressSome) GetOrElse(fn func() Address) Address
func (AddressSome) IsEmpty ¶
func (rcv AddressSome) IsEmpty() bool
func (AddressSome) IsNotEmpty ¶
func (rcv AddressSome) IsNotEmpty() bool
type CatList ¶
type CatList []Cat
func EmptyCatList ¶
func EmptyCatList() CatList
func (CatList) AppendSlice ¶
append a slice to the end of the list
func (CatList) ContainsNot ¶
func (CatList) ForEachPPP ¶
func (CatList) ForEachWithIndex ¶
func (CatList) ForEachWithLastFlag ¶
func (CatList) HeadOption ¶
func (CatList) Intersperse ¶
func (CatList) IsDefinedAt ¶
tests whether this sequence contains the given index
func (CatList) IsNotEmpty ¶
func (CatList) MapToCatPP ¶
func (CatList) MapToCatPPP ¶
func (CatList) MapToCatWithIndex ¶
func (CatList) Sort ¶
i and j are two objects that need to be compared, and based on that comparison the List will be sorted
type CatNone ¶
type CatNone struct { }
func (CatNone) ContainsNot ¶
func (CatNone) FoldToString ¶
func (CatNone) IsNotEmpty ¶
type CatOption ¶
type CatOption interface { Get() Cat GetOrElse(fn func() Cat) Cat ForEach(fn func(Cat)) IsEmpty() bool IsNotEmpty() bool IsDefined() bool Count() int Contains(a Cat) bool ContainsNot(a Cat) bool FoldToString(zero string, fn func(Cat) string) string Apply2(a CatOption, fn func(Cat, Cat) Cat) CatOption Apply3(a CatOption, b CatOption, fn func(Cat, Cat, Cat) Cat) CatOption Apply4(a CatOption, b CatOption, c CatOption, fn func(Cat, Cat, Cat, Cat) Cat) CatOption }
func OptionOfCat ¶
type CatSome ¶
type CatSome struct {
// contains filtered or unexported fields
}
func (CatSome) ContainsNot ¶
func (CatSome) FoldToString ¶
func (CatSome) IsNotEmpty ¶
type Float ¶
type Float float64
type FloatList ¶
type FloatList []Float
func EmptyFloatList ¶
func EmptyFloatList() FloatList
func (FloatList) AppendSlice ¶
append a slice to the end of the list
func (FloatList) ConcatSlice ¶
alias for AppendSlice
func (FloatList) ContainsNot ¶
func (FloatList) FlatMapToFloatList ¶
func (FloatList) ForEachPPP ¶
func (FloatList) ForEachWithIndex ¶
func (FloatList) ForEachWithLastFlag ¶
func (FloatList) HeadOption ¶
func (rcv FloatList) HeadOption() FloatOption
func (FloatList) Intersperse ¶
func (FloatList) IsDefinedAt ¶
tests whether this sequence contains the given index
func (FloatList) IsNotEmpty ¶
func (FloatList) MapToFloatPP ¶
func (FloatList) MapToFloatPPP ¶
func (FloatList) MapToFloatWithIndex ¶
func (FloatList) Sort ¶
i and j are two objects that need to be compared, and based on that comparison the List will be sorted
type FloatNone ¶
type FloatNone struct { }
func (FloatNone) Apply2 ¶
func (rcv FloatNone) Apply2(a FloatOption, fn func(Float, Float) Float) FloatOption
func (FloatNone) Apply3 ¶
func (rcv FloatNone) Apply3(a FloatOption, b FloatOption, fn func(Float, Float, Float) Float) FloatOption
func (FloatNone) Apply4 ¶
func (rcv FloatNone) Apply4(a FloatOption, b FloatOption, c FloatOption, fn func(Float, Float, Float, Float) Float) FloatOption
func (FloatNone) ContainsNot ¶
func (FloatNone) FoldToString ¶
func (FloatNone) IsNotEmpty ¶
type FloatOption ¶
type FloatOption interface { Get() Float GetOrElse(fn func() Float) Float ForEach(fn func(Float)) IsEmpty() bool IsNotEmpty() bool IsDefined() bool Count() int Contains(a Float) bool ContainsNot(a Float) bool FoldToString(zero string, fn func(Float) string) string Apply2(a FloatOption, fn func(Float, Float) Float) FloatOption Apply3(a FloatOption, b FloatOption, fn func(Float, Float, Float) Float) FloatOption Apply4(a FloatOption, b FloatOption, c FloatOption, fn func(Float, Float, Float, Float) Float) FloatOption }
func OptionOfFloat ¶
func OptionOfFloat(a *Float) FloatOption
type FloatSome ¶
type FloatSome struct {
// contains filtered or unexported fields
}
func (FloatSome) Apply2 ¶
func (rcv FloatSome) Apply2(a FloatOption, fn func(Float, Float) Float) FloatOption
func (FloatSome) Apply3 ¶
func (rcv FloatSome) Apply3(a FloatOption, b FloatOption, fn func(Float, Float, Float) Float) FloatOption
func (FloatSome) Apply4 ¶
func (rcv FloatSome) Apply4(a FloatOption, b FloatOption, c FloatOption, fn func(Float, Float, Float, Float) Float) FloatOption
func (FloatSome) ContainsNot ¶
func (FloatSome) FoldToString ¶
func (FloatSome) IsNotEmpty ¶
type IntList ¶
type IntList []int
func EmptyIntList ¶
func EmptyIntList() IntList
func (IntList) AppendSlice ¶
append a slice to the end of the list
func (IntList) ContainsNot ¶
func (IntList) FlatMapToStringList ¶
func (rcv IntList) FlatMapToStringList(fn func(int) StringList) StringList
func (IntList) ForEachPPP ¶
func (IntList) ForEachWithIndex ¶
func (IntList) ForEachWithLastFlag ¶
func (IntList) HeadOption ¶
func (IntList) Intersperse ¶
func (IntList) IsDefinedAt ¶
tests whether this sequence contains the given index
func (IntList) IsNotEmpty ¶
func (IntList) MapToIntPP ¶
func (IntList) MapToIntPPP ¶
func (IntList) MapToIntWithIndex ¶
func (IntList) MapToString ¶
func (rcv IntList) MapToString(fn func(int) string) StringList
func (IntList) MapToStringP ¶
func (rcv IntList) MapToStringP(mapFn func(int) string) StringList
func (IntList) MapToStringPP ¶
func (rcv IntList) MapToStringPP(parallelism int, mapFn func(int) string) StringList
func (IntList) MapToStringPPP ¶
func (rcv IntList) MapToStringPPP(parallelism int, mapFn func(int) string, progressFn func()) StringList
func (IntList) MapToStringWithIndex ¶
func (rcv IntList) MapToStringWithIndex(fn func(int, int) string) StringList
func (IntList) MapToStringWithLastFlag ¶
func (rcv IntList) MapToStringWithLastFlag(fn func(bool, int) string) StringList
func (IntList) Sort ¶
i and j are two objects that need to be compared, and based on that comparison the List will be sorted
type IntNone ¶
type IntNone struct { }
func (IntNone) ContainsNot ¶
func (IntNone) FoldToString ¶
func (IntNone) IsNotEmpty ¶
type IntOption ¶
type IntOption interface { Get() int GetOrElse(fn func() int) int ForEach(fn func(int)) IsEmpty() bool IsNotEmpty() bool IsDefined() bool Count() int Contains(a int) bool ContainsNot(a int) bool FoldToString(zero string, fn func(int) string) string Apply2(a IntOption, fn func(int, int) int) IntOption Apply3(a IntOption, b IntOption, fn func(int, int, int) int) IntOption Apply4(a IntOption, b IntOption, c IntOption, fn func(int, int, int, int) int) IntOption }
func OptionOfInt ¶
type IntSome ¶
type IntSome struct {
// contains filtered or unexported fields
}
func (IntSome) ContainsNot ¶
func (IntSome) FoldToString ¶
func (IntSome) IsNotEmpty ¶
type PersonList ¶
type PersonList []Person
func EmptyPersonList ¶
func EmptyPersonList() PersonList
func (PersonList) Append ¶
func (rcv PersonList) Append(x Person) PersonList
append an element to the end of the list
func (PersonList) AppendAll ¶
func (rcv PersonList) AppendAll(xs ...Person) PersonList
append elements to the end of the list
func (PersonList) AppendSlice ¶
func (rcv PersonList) AppendSlice(xs []Person) PersonList
append a slice to the end of the list
func (PersonList) Apply ¶
func (rcv PersonList) Apply(x int) Person
returns the element at the index
func (PersonList) ApplyOrElse ¶
func (rcv PersonList) ApplyOrElse(x int, fn func() Person) Person
func (PersonList) Concat ¶
func (rcv PersonList) Concat(xs ...Person) PersonList
alias for AppendAll
func (PersonList) ConcatSlice ¶
func (rcv PersonList) ConcatSlice(xs []Person) PersonList
alias for AppendSlice
func (PersonList) Contains ¶
func (rcv PersonList) Contains(a Person) bool
func (PersonList) ContainsNot ¶
func (rcv PersonList) ContainsNot(a Person) bool
func (PersonList) Count ¶
func (rcv PersonList) Count() int
func (PersonList) Distinct ¶
func (rcv PersonList) Distinct() PersonList
func (PersonList) DropWhile ¶
func (rcv PersonList) DropWhile(fn func(Person) bool) PersonList
alias for FilterNot
func (PersonList) Fill ¶
func (rcv PersonList) Fill(num int, a Person) PersonList
create a new list prefilled
func (PersonList) Filter ¶
func (rcv PersonList) Filter(fn func(Person) bool) PersonList
Selects all elements of this list which satisfy a predicate.
func (PersonList) FilterNot ¶
func (rcv PersonList) FilterNot(fn func(Person) bool) PersonList
Selects all elements of this list which do not satisfy a predicate.
func (PersonList) FlatMapToPersonList ¶
func (rcv PersonList) FlatMapToPersonList(fn func(Person) PersonList) PersonList
func (PersonList) ForEach ¶
func (rcv PersonList) ForEach(fn func(Person))
func (PersonList) ForEachP ¶
func (rcv PersonList) ForEachP(fn func(Person))
func (PersonList) ForEachPP ¶
func (rcv PersonList) ForEachPP(parallelism int, fn func(Person))
func (PersonList) ForEachPPP ¶
func (rcv PersonList) ForEachPPP(parallelism int, fn func(Person), progressFn func())
func (PersonList) ForEachWithIndex ¶
func (rcv PersonList) ForEachWithIndex(fn func(int, Person))
func (PersonList) ForEachWithLastFlag ¶
func (rcv PersonList) ForEachWithLastFlag(fn func(bool, Person))
func (PersonList) HeadOption ¶
func (rcv PersonList) HeadOption() PersonOption
func (PersonList) Init ¶
func (rcv PersonList) Init() PersonList
returns the initial part of the collection, without the last element
func (PersonList) Intersect ¶
func (rcv PersonList) Intersect(xs PersonList) PersonList
return the intersection of the list and another list
func (PersonList) Intersperse ¶
func (rcv PersonList) Intersperse(a Person) PersonList
func (PersonList) IsDefinedAt ¶
func (rcv PersonList) IsDefinedAt(x int) bool
tests whether this sequence contains the given index
func (PersonList) IsEmpty ¶
func (rcv PersonList) IsEmpty() bool
func (PersonList) IsNotEmpty ¶
func (rcv PersonList) IsNotEmpty() bool
func (PersonList) Last ¶
func (rcv PersonList) Last() Person
func (PersonList) MapToCatPP ¶
func (rcv PersonList) MapToCatPP(parallelism int, mapFn func(Person) Cat) CatList
func (PersonList) MapToCatPPP ¶
func (rcv PersonList) MapToCatPPP(parallelism int, mapFn func(Person) Cat, progressFn func()) CatList
func (PersonList) MapToCatWithIndex ¶
func (rcv PersonList) MapToCatWithIndex(fn func(int, Person) Cat) CatList
func (PersonList) MapToCatWithLastFlag ¶
func (rcv PersonList) MapToCatWithLastFlag(fn func(bool, Person) Cat) CatList
func (PersonList) MapToPerson ¶
func (rcv PersonList) MapToPerson(fn func(Person) Person) PersonList
func (PersonList) MapToPersonP ¶
func (rcv PersonList) MapToPersonP(mapFn func(Person) Person) PersonList
func (PersonList) MapToPersonPP ¶
func (rcv PersonList) MapToPersonPP(parallelism int, mapFn func(Person) Person) PersonList
func (PersonList) MapToPersonPPP ¶
func (rcv PersonList) MapToPersonPPP(parallelism int, mapFn func(Person) Person, progressFn func()) PersonList
func (PersonList) MapToPersonWithIndex ¶
func (rcv PersonList) MapToPersonWithIndex(fn func(int, Person) Person) PersonList
func (PersonList) Partition ¶
func (rcv PersonList) Partition(fn func(Person) bool) (PersonList, PersonList)
func (PersonList) RangeOf ¶
func (rcv PersonList) RangeOf(from int, to int, fn func(int) Person) PersonList
func (PersonList) Reverse ¶
func (rcv PersonList) Reverse() PersonList
func (PersonList) Slice ¶
func (rcv PersonList) Slice(from int, to int) PersonList
func (PersonList) Sort ¶
func (rcv PersonList) Sort(fn func(i Person, j Person) bool) PersonList
i and j are two objects that need to be compared, and based on that comparison the List will be sorted
func (PersonList) Tablulate ¶
func (rcv PersonList) Tablulate(num int, fn func(int) Person) PersonList
func (PersonList) Tail ¶
func (rcv PersonList) Tail() PersonList
The rest of the collection without its first element.
func (PersonList) TakeWhile ¶
func (rcv PersonList) TakeWhile(fn func(Person) bool) PersonList
alias for Filter
type PersonNone ¶
type PersonNone struct { }
func (PersonNone) Apply2 ¶
func (rcv PersonNone) Apply2(a PersonOption, fn func(Person, Person) Person) PersonOption
func (PersonNone) Apply3 ¶
func (rcv PersonNone) Apply3(a PersonOption, b PersonOption, fn func(Person, Person, Person) Person) PersonOption
func (PersonNone) Apply4 ¶
func (rcv PersonNone) Apply4(a PersonOption, b PersonOption, c PersonOption, fn func(Person, Person, Person, Person) Person) PersonOption
func (PersonNone) Contains ¶
func (rcv PersonNone) Contains(a Person) bool
func (PersonNone) ContainsNot ¶
func (rcv PersonNone) ContainsNot(a Person) bool
func (PersonNone) Count ¶
func (rcv PersonNone) Count() int
func (PersonNone) FoldToString ¶
func (rcv PersonNone) FoldToString(zero string, fn func(Person) string) string
func (PersonNone) ForEach ¶
func (rcv PersonNone) ForEach(fn func(Person))
func (PersonNone) GetOrElse ¶
func (rcv PersonNone) GetOrElse(fn func() Person) Person
func (PersonNone) IsDefined ¶
func (rcv PersonNone) IsDefined() bool
func (PersonNone) IsEmpty ¶
func (rcv PersonNone) IsEmpty() bool
func (PersonNone) IsNotEmpty ¶
func (rcv PersonNone) IsNotEmpty() bool
type PersonOption ¶
type PersonOption interface { Get() Person GetOrElse(fn func() Person) Person ForEach(fn func(Person)) IsEmpty() bool IsNotEmpty() bool IsDefined() bool Count() int Contains(a Person) bool ContainsNot(a Person) bool FoldToString(zero string, fn func(Person) string) string Apply2(a PersonOption, fn func(Person, Person) Person) PersonOption Apply3(a PersonOption, b PersonOption, fn func(Person, Person, Person) Person) PersonOption Apply4(a PersonOption, b PersonOption, c PersonOption, fn func(Person, Person, Person, Person) Person) PersonOption }
func OptionOfPerson ¶
func OptionOfPerson(a *Person) PersonOption
type PersonSome ¶
type PersonSome struct {
// contains filtered or unexported fields
}
func (PersonSome) Apply2 ¶
func (rcv PersonSome) Apply2(a PersonOption, fn func(Person, Person) Person) PersonOption
func (PersonSome) Apply3 ¶
func (rcv PersonSome) Apply3(a PersonOption, b PersonOption, fn func(Person, Person, Person) Person) PersonOption
func (PersonSome) Apply4 ¶
func (rcv PersonSome) Apply4(a PersonOption, b PersonOption, c PersonOption, fn func(Person, Person, Person, Person) Person) PersonOption
func (PersonSome) Contains ¶
func (rcv PersonSome) Contains(a Person) bool
func (PersonSome) ContainsNot ¶
func (rcv PersonSome) ContainsNot(a Person) bool
func (PersonSome) Count ¶
func (rcv PersonSome) Count() int
func (PersonSome) FoldToString ¶
func (rcv PersonSome) FoldToString(zero string, fn func(Person) string) string
func (PersonSome) ForEach ¶
func (rcv PersonSome) ForEach(fn func(Person))
func (PersonSome) GetOrElse ¶
func (rcv PersonSome) GetOrElse(fn func() Person) Person
func (PersonSome) IsEmpty ¶
func (rcv PersonSome) IsEmpty() bool
func (PersonSome) IsNotEmpty ¶
func (rcv PersonSome) IsNotEmpty() bool
type RangeIterator ¶
type RangeIterator struct {
// contains filtered or unexported fields
}
func (RangeIterator) ForEach ¶
func (rcv RangeIterator) ForEach(fn func())
func (RangeIterator) ForEachWithIndex ¶
func (rcv RangeIterator) ForEachWithIndex(fn func(int))
func (RangeIterator) ForEachWithIndexWithReturnFunc ¶
func (rcv RangeIterator) ForEachWithIndexWithReturnFunc(fn func(int), ret func(int) bool)
func (RangeIterator) ForEachWithLastFlag ¶
func (rcv RangeIterator) ForEachWithLastFlag(fn func(bool))
func (RangeIterator) ForEachWithReturnFunc ¶
func (rcv RangeIterator) ForEachWithReturnFunc(fn func(), ret func(int) bool)
func (RangeIterator) ToIntList ¶
func (rcv RangeIterator) ToIntList() IntList
func (RangeIterator) WithStep ¶
func (rcv RangeIterator) WithStep(step int) RangeIterator
type String ¶
type String string
func (String) IsNotEmpty ¶
func (String) NotContains ¶
func (String) QueryEscape ¶
func (String) QueryUnEscape ¶
func (String) ReplaceAll ¶
ReplaceAll returns a copy of the string s with all non-overlapping instances of old replaced by new.
func (String) Split ¶
func (s String) Split(sep string) StringList
func (String) TrimLeft ¶
TrimLeft returns a slice of the string s with all leading Unicode code points contained in cutset removed.
func (String) TrimPrefix ¶
TrimPrefix returns s without the provided leading prefix string. If s doesn't start with prefix, s is returned unchanged.
func (String) TrimSuffix ¶
TrimSuffix returns s without the provided trailing suffix string. If s doesn't end with suffix, s is returned unchanged.
type StringList ¶
type StringList []string
func EmptyStringList ¶
func EmptyStringList() StringList
func (StringList) Append ¶
func (rcv StringList) Append(x string) StringList
append an element to the end of the list
func (StringList) AppendAll ¶
func (rcv StringList) AppendAll(xs ...string) StringList
append elements to the end of the list
func (StringList) AppendSlice ¶
func (rcv StringList) AppendSlice(xs []string) StringList
append a slice to the end of the list
func (StringList) Apply ¶
func (rcv StringList) Apply(x int) string
returns the element at the index
func (StringList) ApplyOrElse ¶
func (rcv StringList) ApplyOrElse(x int, fn func() string) string
func (StringList) Concat ¶
func (rcv StringList) Concat(xs ...string) StringList
alias for AppendAll
func (StringList) ConcatSlice ¶
func (rcv StringList) ConcatSlice(xs []string) StringList
alias for AppendSlice
func (StringList) Contains ¶
func (rcv StringList) Contains(a string) bool
func (StringList) ContainsNot ¶
func (rcv StringList) ContainsNot(a string) bool
func (StringList) Count ¶
func (rcv StringList) Count() int
func (StringList) Distinct ¶
func (rcv StringList) Distinct() StringList
func (StringList) DropWhile ¶
func (rcv StringList) DropWhile(fn func(string) bool) StringList
alias for FilterNot
func (StringList) Fill ¶
func (rcv StringList) Fill(num int, a string) StringList
create a new list prefilled
func (StringList) Filter ¶
func (rcv StringList) Filter(fn func(string) bool) StringList
Selects all elements of this list which satisfy a predicate.
func (StringList) FilterNot ¶
func (rcv StringList) FilterNot(fn func(string) bool) StringList
Selects all elements of this list which do not satisfy a predicate.
func (StringList) FlatMapToCatList ¶
func (rcv StringList) FlatMapToCatList(fn func(string) CatList) CatList
func (StringList) FlatMapToStringList ¶
func (rcv StringList) FlatMapToStringList(fn func(string) StringList) StringList
func (StringList) ForEach ¶
func (rcv StringList) ForEach(fn func(string))
func (StringList) ForEachP ¶
func (rcv StringList) ForEachP(fn func(string))
func (StringList) ForEachPP ¶
func (rcv StringList) ForEachPP(parallelism int, fn func(string))
func (StringList) ForEachPPP ¶
func (rcv StringList) ForEachPPP(parallelism int, fn func(string), progressFn func())
func (StringList) ForEachWithIndex ¶
func (rcv StringList) ForEachWithIndex(fn func(int, string))
func (StringList) ForEachWithLastFlag ¶
func (rcv StringList) ForEachWithLastFlag(fn func(bool, string))
func (StringList) HeadOption ¶
func (rcv StringList) HeadOption() StringOption
func (StringList) Init ¶
func (rcv StringList) Init() StringList
returns the initial part of the collection, without the last element
func (StringList) Intersect ¶
func (rcv StringList) Intersect(xs StringList) StringList
return the intersection of the list and another list
func (StringList) Intersperse ¶
func (rcv StringList) Intersperse(a string) StringList
func (StringList) IsDefinedAt ¶
func (rcv StringList) IsDefinedAt(x int) bool
tests whether this sequence contains the given index
func (StringList) IsEmpty ¶
func (rcv StringList) IsEmpty() bool
func (StringList) IsNotEmpty ¶
func (rcv StringList) IsNotEmpty() bool
func (StringList) Join ¶
func (rcv StringList) Join(sep string) String
joins using the character and returns the string
func (StringList) Last ¶
func (rcv StringList) Last() string
func (StringList) MapToIntPP ¶
func (rcv StringList) MapToIntPP(parallelism int, mapFn func(string) int) IntList
func (StringList) MapToIntPPP ¶
func (rcv StringList) MapToIntPPP(parallelism int, mapFn func(string) int, progressFn func()) IntList
func (StringList) MapToIntWithIndex ¶
func (rcv StringList) MapToIntWithIndex(fn func(int, string) int) IntList
func (StringList) MapToIntWithLastFlag ¶
func (rcv StringList) MapToIntWithLastFlag(fn func(bool, string) int) IntList
func (StringList) MapToString ¶
func (rcv StringList) MapToString(fn func(string) string) StringList
func (StringList) MapToStringP ¶
func (rcv StringList) MapToStringP(mapFn func(string) string) StringList
func (StringList) MapToStringPP ¶
func (rcv StringList) MapToStringPP(parallelism int, mapFn func(string) string) StringList
func (StringList) MapToStringPPP ¶
func (rcv StringList) MapToStringPPP(parallelism int, mapFn func(string) string, progressFn func()) StringList
func (StringList) MapToStringWithIndex ¶
func (rcv StringList) MapToStringWithIndex(fn func(int, string) string) StringList
func (StringList) Partition ¶
func (rcv StringList) Partition(fn func(string) bool) (StringList, StringList)
func (StringList) RangeOf ¶
func (rcv StringList) RangeOf(from int, to int, fn func(int) string) StringList
func (StringList) Reverse ¶
func (rcv StringList) Reverse() StringList
func (StringList) Slice ¶
func (rcv StringList) Slice(from int, to int) StringList
func (StringList) Sort ¶
func (rcv StringList) Sort(fn func(i string, j string) bool) StringList
i and j are two objects that need to be compared, and based on that comparison the List will be sorted
func (StringList) Tablulate ¶
func (rcv StringList) Tablulate(num int, fn func(int) string) StringList
func (StringList) Tail ¶
func (rcv StringList) Tail() StringList
The rest of the collection without its first element.
func (StringList) TakeWhile ¶
func (rcv StringList) TakeWhile(fn func(string) bool) StringList
alias for Filter
type StringNone ¶
type StringNone struct { }
func (StringNone) Apply2 ¶
func (rcv StringNone) Apply2(a StringOption, fn func(string, string) string) StringOption
func (StringNone) Apply3 ¶
func (rcv StringNone) Apply3(a StringOption, b StringOption, fn func(string, string, string) string) StringOption
func (StringNone) Apply4 ¶
func (rcv StringNone) Apply4(a StringOption, b StringOption, c StringOption, fn func(string, string, string, string) string) StringOption
func (StringNone) Contains ¶
func (rcv StringNone) Contains(a string) bool
func (StringNone) ContainsNot ¶
func (rcv StringNone) ContainsNot(a string) bool
func (StringNone) Count ¶
func (rcv StringNone) Count() int
func (StringNone) FoldToString ¶
func (rcv StringNone) FoldToString(zero string, fn func(string) string) string
func (StringNone) ForEach ¶
func (rcv StringNone) ForEach(fn func(string))
func (StringNone) GetOrElse ¶
func (rcv StringNone) GetOrElse(fn func() string) string
func (StringNone) IsDefined ¶
func (rcv StringNone) IsDefined() bool
func (StringNone) IsEmpty ¶
func (rcv StringNone) IsEmpty() bool
func (StringNone) IsNotEmpty ¶
func (rcv StringNone) IsNotEmpty() bool
type StringOption ¶
type StringOption interface { Get() string GetOrElse(fn func() string) string ForEach(fn func(string)) IsEmpty() bool IsNotEmpty() bool IsDefined() bool Count() int Contains(a string) bool ContainsNot(a string) bool FoldToString(zero string, fn func(string) string) string Apply2(a StringOption, fn func(string, string) string) StringOption Apply3(a StringOption, b StringOption, fn func(string, string, string) string) StringOption Apply4(a StringOption, b StringOption, c StringOption, fn func(string, string, string, string) string) StringOption }
func OptionOfString ¶
func OptionOfString(a *string) StringOption
type StringSome ¶
type StringSome struct {
// contains filtered or unexported fields
}
func (StringSome) Apply2 ¶
func (rcv StringSome) Apply2(a StringOption, fn func(string, string) string) StringOption
func (StringSome) Apply3 ¶
func (rcv StringSome) Apply3(a StringOption, b StringOption, fn func(string, string, string) string) StringOption
func (StringSome) Apply4 ¶
func (rcv StringSome) Apply4(a StringOption, b StringOption, c StringOption, fn func(string, string, string, string) string) StringOption
func (StringSome) Contains ¶
func (rcv StringSome) Contains(a string) bool
func (StringSome) ContainsNot ¶
func (rcv StringSome) ContainsNot(a string) bool
func (StringSome) Count ¶
func (rcv StringSome) Count() int
func (StringSome) FoldToString ¶
func (rcv StringSome) FoldToString(zero string, fn func(string) string) string
func (StringSome) ForEach ¶
func (rcv StringSome) ForEach(fn func(string))
func (StringSome) GetOrElse ¶
func (rcv StringSome) GetOrElse(fn func() string) string
func (StringSome) IsEmpty ¶
func (rcv StringSome) IsEmpty() bool
func (StringSome) IsNotEmpty ¶
func (rcv StringSome) IsNotEmpty() bool