package
1.0.150
Repository: https://github.com/ibm/fp-go.git
Documentation: pkg.go.dev

# Functions

CacheCallback converts a unary function into a unary function that caches the value depending on the parameter.
ContramapMemoize converts a unary function into a unary function that caches the value depending on the parameter.
Memoize converts a unary function into a unary function that caches the value depending on the parameter.
SingleElementCache is a cache with a capacity of a single element.
Switch applies a handler to different cases.