pipe

package
v0.0.8-alpha Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Pipe

func Pipe[
	A, B, C any,
	FA constraint.Map[A, B],
	FB constraint.Map[B, C],
	R constraint.Map[A, C],
](fa FA, fb FB) R

func Pipe3

func Pipe3[
	A, B, C, D any,
	FA constraint.Map[A, B],
	FB constraint.Map[B, C],
	FC constraint.Map[C, D],
	R constraint.Map[A, D],
](fa FA, fb FB, fc FC) R

func Pipe4

func Pipe4[
	A, B, C, D, E any,
	FA constraint.Map[A, B],
	FB constraint.Map[B, C],
	FC constraint.Map[C, D],
	FD constraint.Map[D, E],
	R constraint.Map[A, E],
](fa FA, fb FB, fc FC, fd FD) R

func Pipe5

func Pipe5[
	A, B, C, D, E, F any,
	FA constraint.Map[A, B],
	FB constraint.Map[B, C],
	FC constraint.Map[C, D],
	FD constraint.Map[D, E],
	FE constraint.Map[E, F],
	R constraint.Map[A, F],
](fa FA, fb FB, fc FC, fd FD, fe FE) R

func Pipe6

func Pipe6[
	A, B, C, D, E, F, G any,
	FA constraint.Map[A, B],
	FB constraint.Map[B, C],
	FC constraint.Map[C, D],
	FD constraint.Map[D, E],
	FE constraint.Map[E, F],
	FF constraint.Map[F, G],
	R constraint.Map[A, G],
](fa FA, fb FB, fc FC, fd FD, fe FE, ff FF) R

Types

This section is empty.

Jump to

Keyboard shortcuts

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