directory
2.16.0
Repository: https://github.com/tawesoft/golib.git
Documentation: pkg.go.dev

# Packages

Package either implements a simple generic "Either" type that can represent exactly one value out of two options.
Package future implements "Futures", which represent a placeholder handle for a value that may not yet be ready, but is (eventually) computed by a promise.
Package maybe implements a M{value, ok} "sum type" that has a value only when ok is true.
Package partial provides helpers for partial function application.
Package promise implements a simple Promise type that can be used to represent a computation to be performed at a later stage.
Package result implements a R{value, error} "sum type" that has a value only when error is nil.
Package slices provides generic higher-order functions over slices of values.