generator

package
v0.0.0-...-53691cf Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Pairs

func Pairs[S ~[]T, T any](in S, num int) []S

func PairsSeq

func PairsSeq[S ~[]T, T any](in S, num int) iter.Seq[S]

func PairsSeq2

func PairsSeq2[S ~[]T, T any](in S, num int) iter.Seq2[int, S]

func Reverse

func Reverse[S ~[]T, T any](in S) S

func ReverseSeq

func ReverseSeq[S ~[]T, T any](in S) iter.Seq[T]

func ReverseSeq2

func ReverseSeq2[S ~[]T, T any](in S) iter.Seq2[int, T]

Types

This section is empty.

Jump to

Keyboard shortcuts

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