Documentation
¶
Overview ¶
Package next calculates asynchronously combinations and permutations of a collection of values.
Here is a sample usage of next:
package main
import (
"fmt"
"klaidliadon.dev/next"
)
func main() {
for v := range next.Combination([]int{1,2,3,4}, 2, true) {
fmt.Println(v)
}
}
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Combination ¶
Returns a channel of combinantions of n element from base w/o repetition
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.