Documentation
¶
Overview ¶
Package functional implements Functional Programming capabilities for common go data structures. The root package offers nothing except for some globals, some helper functions, and a way to group the subpackages topgether Sub-packages include flsice and fmap, which operate on slice and maps respectively
Many methods are chainable, enhancing composability and expressiveness, which is what gives functional programming it's signature style.
Go Functional provides a near-zero cost abstraction for a great many use-cases, but will not do so for all. Use the right tool for the right job. Run the included benchmarks for performance characteristics.
Index ¶
Constants ¶
const Version = "v0.0.1"
Variables ¶
var TestSuite = functionalTestSuite{ LoremIpsumFilePath: "fslice/testdata/lorem_ipsum_%d_words.txt", LoremIpsumLengths: []int{10, 100, 1_000, 10_000, 100_000}, }
Functions ¶
func FsliceFrom ¶
func FsliceFrom[T comparable](inputSlice []T) fslice.MethodSet[T]
convenience for fslice.From()
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
bin
|
|
|
generate-test-data
command
|
|
|
Package fslice implements a set of methods (see [MethodSet]) for operating on slices in a Functional Programming way.
|
Package fslice implements a set of methods (see [MethodSet]) for operating on slices in a Functional Programming way. |
