package bounded
import "github.com/IBM/fp-go/bounded"
Index ¶
Functions ¶
func Clamp ¶
Clamp returns a function that clamps against the bounds defined in the bounded type
Types ¶
type Bounded ¶
func MakeBounded ¶
MakeBounded creates an instance of a bounded type
func Reverse ¶
Reverse reverses the ordering and swaps the bounds
Source Files ¶
- Version
- v1.0.151 (latest)
- Published
- Nov 23, 2024
- Platform
- linux/amd64
- Imports
- 1 packages
- Last checked
- 4 months ago –
Tools for package owners.