Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pair ¶
type Pair[A, B any] struct { First A Second B }
Pair is a tuple of two elements.
type Triple ¶
type Triple[A, B, C any] struct { First A Second B Third C }
Triple is a tuple of three elements.
func MakeTriple ¶ added in v0.4.0
type Tuple4 ¶
type Tuple4[A, B, C, D any] struct { First A Second B Third C Fourth D }
Tuple4 is a tuple of four elements.
func MakeTuple4 ¶ added in v0.4.0
type Tuple5 ¶
type Tuple5[A, B, C, D, E any] struct { First A Second B Third C Fourth D Fifth E }
Tuple5 is a tuple of five elements.
func MakeTuple5 ¶ added in v0.4.0
type Tuple6 ¶ added in v0.2.1
type Tuple6[A, B, C, D, E, F any] struct { First A Second B Third C Fourth D Fifth E Sixth F }
Tuple6 is a tuple of six elements.
func MakeTuple6 ¶ added in v0.4.0
type Tuple7 ¶ added in v0.2.1
type Tuple7[A, B, C, D, E, F, G any] struct { First A Second B Third C Fourth D Fifth E Sixth F Seventh G }
Tuple7 is a tuple of seven elements.
func MakeTuple7 ¶ added in v0.4.0
type Tuple8 ¶ added in v0.2.1
type Tuple8[A, B, C, D, E, F, G, H any] struct { First A Second B Third C Fourth D Fifth E Sixth F Seventh G Eighth H }
Tuple8 is a tuple of eight elements.
func MakeTuple8 ¶ added in v0.4.0
type Tuple9 ¶ added in v0.2.1
type Tuple9[A, B, C, D, E, F, G, H, I any] struct { First A Second B Third C Fourth D Fifth E Sixth F Seventh G Eighth H Ninth I }
Tuple9 is a tuple of nine elements.
func MakeTuple9 ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.