lazy

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2024 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lazy

type Lazy[T any] func() T

func Lift

func Lift[L ~func() T, T any](l L) Lazy[T]

func Of

func Of[T any](x T) Lazy[T]

func Once

func Once[L ~func() T, T any](l L) Lazy[T]

type Lazy2

type Lazy2[T, V any] func() (T, V)

func Once2

func Once2[L ~func() (T, V), T, V any](l L) Lazy2[T, V]

type Lazy3

type Lazy3[T, U, V any] func() (T, U, V)

Jump to

Keyboard shortcuts

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