iterutil

package
v0.0.0-...-36943ce Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2025 License: Unlicense Imports: 4 Imported by: 0

Documentation

Overview

Package iterutil provides iterator utility functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ordered

func Ordered[Map ~map[K]V, K cmp.Ordered, V any](m Map) iter.Seq2[K, V]

Ordered returns an iterator over key-value pairs from m. The iteration order is deterministic, arranging keys in ascending order.

Types

This section is empty.

Jump to

Keyboard shortcuts

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