Permutations are fun
So this package provides a naive implementation for any type implementing the interface permutation.Sequence
Install Go 1, either from source or with a prepackaged binary.
Then run
go get github.com/nightlyone/permutation
Play around with it using the example
go run github.com/nightlyone/permutation/example/main.go
BSD
package documentation at go.pkgdoc.org
Contributions are welcome. Please open an issue or send me a pull request for a dedicated branch. Make sure the git commit hooks show it works.
enable commit hooks via
cd .git ; rm -rf hooks; ln -s ../git-hooks hooks ; cd ..