proxy.golang.org : github.com/rwxrob/bonzai/fn
Package fn standardizes functional types and traditional map/filter/reduce/each functions so that type switching on them can be done consistently. It also provides a collection of common type implementations. Rather that force casting in order for type switches to work, the func(in any) any is left as is and assumed to be used for any type switches checking for map functions. In other words, the func(in any) any is itself a first-class type in this package and those using it should prefer it for all map function implementations.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/rwxrob/bonzai/fn
Keywords:
batteries-included
, beginner-friendly
, busybox
, cli
, cli-framework
, commander
, composition
, compositor
, dashist
, documentation
, flag-parser
, getopts
, golang
, help
, rootkit
, terminal
License: Apache-2.0
Latest release: 10 months ago
First release: 11 months ago
Namespace: github.com/rwxrob/bonzai
Stars: 230 on GitHub
Forks: 21 on GitHub
Total Commits: 340
Committers: 3
Average commits per author: 113.333
Development Distribution Score (DDS): 0.018
More commit stats: commits.ecosyste.ms
See more repository details: repos.ecosyste.ms
Funding links: https://github.com/sponsors/rwxrob, https://linktr.ee/rwxrob
Last synced: 17 days ago