papaya

module
v2.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2024 License: Apache-2.0

README

papaya

Description

A curated collection of utility functions and types absent from the Go standard library that make life easier.

See documentation: https://pkg.go.dev/github.com/jpfourny/papaya/v2

See tests and examples for usage.

Installation

go get github.com/jpfourny/papaya/v2

Directories

Path Synopsis
internal
pkg
cmp
Package cmp provides a set of utility functions for comparing and sorting values in Go.
Package cmp provides a set of utility functions for comparing and sorting values in Go.
constraint
Package constraint defines various type-constraining interfaces used throughout the library.
Package constraint defines various type-constraining interfaces used throughout the library.
env
opt
Package opt defines types for working with opt values, inspired by Java's `Optional` class.
Package opt defines types for working with opt values, inspired by Java's `Optional` class.
pair
Package pair provides a generic implementation of a pair of values.
Package pair provides a generic implementation of a pair of values.
ptr
Package ptr provides utilities for working with pointers.
Package ptr provides utilities for working with pointers.
res
stream
Package stream provides an abstraction for working with a stream of values supporting sequential computational operations.
Package stream provides an abstraction for working with a stream of values supporting sequential computational operations.
stream/mapper
Package mapper provides a set of functions for transforming values in Go.
Package mapper provides a set of functions for transforming values in Go.
stream/pred
Package pred provides various generic predicate functions.
Package pred provides various generic predicate functions.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL