Registry / utility / pingcap-fn

pingcap-fn

JSON →
library1.0.0gogounverified

Functional programming utilities for Go, providing common higher-order functions.

go get github.com/pingcap/fn
INSTALL
IMPORT
SIG · PINGCAP-FN
P
pingcap-fn
utilitygov1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

fn
github.com/pingcap/fn

Use Apply2 to call a binary function

package main import ( "fmt" "github.com/pingcap/fn" ) func main() { add := func(a, b int) int { return a + b } result := fn.Apply2(add, 3, 4) fmt.Println(result) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
pingcap-fn — go get pingcap-fn · libregistry