Documentation
¶
Index ¶
- Variables
- type Float64ChanIter
- func (i Float64ChanIter) Array(done chan struct{}) []float64
- func (i Float64ChanIter) Concat(args ...Float64ChanIter) Float64ChanIter
- func (i Float64ChanIter) Filter(fn func(float64) bool) Float64ChanIter
- func (i Float64ChanIter) ForEach(fn func(int, float64))
- func (i Float64ChanIter) Map(fn func(int, float64) interface{}) Float64ChanMapResult
- func (i Float64ChanIter) ReduceInt(fn func(current float64, acc int, index int) int, initial int) chan int
- type Float64ChanMapResult
- type Float64Iter
- func (i Float64Iter) All(fn func(float64) bool) bool
- func (i Float64Iter) Concat(i2 Float64Iter) Float64Iter
- func (i Float64Iter) Filter(fn func(float64) bool) Float64Iter
- func (i Float64Iter) Find(fn func(float64) bool) (float64, int)
- func (i Float64Iter) ForEach(fn func(int, float64))
- func (i Float64Iter) Map(fn func(int, float64) interface{}) Float64IterMapResult
- func (i Float64Iter) ReduceInt(fn func(current float64, acc int, index int) int, initial int) int
- func (i Float64Iter) Reverse() Float64Iter
- func (i Float64Iter) Some(fn func(float64) bool) bool
- func (i Float64Iter) Splice(start, numDelete int) Float64Iter
- type Float64IterMapResult
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrFloat64ChanToFloat64 = errors.New("cannot convert Float64ChanMapResult to chan float64")
View Source
var ErrFloat64ChanToInt = errors.New("cannot convert Float64ChanMapResult to chan int")
View Source
var ErrFloat64ToFloat64 = errors.New("cannot convert Float64IterMapResult to []float64")
View Source
var ErrFloat64ToInt = errors.New("cannot convert Float64IterMapResult to []int")
Functions ¶
This section is empty.
Types ¶
type Float64ChanIter ¶
type Float64ChanIter chan float64
func (Float64ChanIter) Array ¶
func (i Float64ChanIter) Array(done chan struct{}) []float64
func (Float64ChanIter) Concat ¶
func (i Float64ChanIter) Concat(args ...Float64ChanIter) Float64ChanIter
func (Float64ChanIter) Filter ¶
func (i Float64ChanIter) Filter(fn func(float64) bool) Float64ChanIter
func (Float64ChanIter) ForEach ¶
func (i Float64ChanIter) ForEach(fn func(int, float64))
func (Float64ChanIter) Map ¶
func (i Float64ChanIter) Map(fn func(int, float64) interface{}) Float64ChanMapResult
type Float64ChanMapResult ¶
type Float64ChanMapResult <-chan interface{}
func (Float64ChanMapResult) Iter ¶
func (r Float64ChanMapResult) Iter() (Float64ChanIter, chan error)
func (Float64ChanMapResult) ToInt ¶
func (r Float64ChanMapResult) ToInt() (chan int, chan error)
type Float64Iter ¶
type Float64Iter []float64
func NewFloat64Iter ¶
func NewFloat64Iter(items ...float64) Float64Iter
func (Float64Iter) Concat ¶
func (i Float64Iter) Concat(i2 Float64Iter) Float64Iter
func (Float64Iter) Filter ¶
func (i Float64Iter) Filter(fn func(float64) bool) Float64Iter
func (Float64Iter) ForEach ¶
func (i Float64Iter) ForEach(fn func(int, float64))
func (Float64Iter) Map ¶
func (i Float64Iter) Map(fn func(int, float64) interface{}) Float64IterMapResult
func (Float64Iter) Reverse ¶
func (i Float64Iter) Reverse() Float64Iter
func (Float64Iter) Splice ¶
func (i Float64Iter) Splice(start, numDelete int) Float64Iter
Splice removes numDelete items from the slice since start. If numDelete is -1 it will delete all items after start. If start is higher than the slice length or lower than 0 the whole slice will be returned.
type Float64IterMapResult ¶
type Float64IterMapResult []interface{}
func (Float64IterMapResult) Iter ¶
func (r Float64IterMapResult) Iter() (Float64Iter, error)
func (Float64IterMapResult) ToInt ¶
func (r Float64IterMapResult) ToInt() ([]int, error)
Click to show internal directories.
Click to hide internal directories.