map_

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package map_ provides immutable.Map constructors

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromSeq2 added in v0.0.15

func FromSeq2[K comparable, V any](seq seq.Seq2[K, V]) immutable.Map[K, V]

FromSeq2 creates a map with elements retrieved by the seq.

func New

func New[K comparable, V any](elements map[K]V) immutable.Map[K, V]

New instantiates Map and copies elements to it

func Of

func Of[K comparable, V any](elements ...c.KV[K, V]) immutable.Map[K, V]

Of instantiates a ap from the specified key/value pairs

Types

This section is empty.

Jump to

Keyboard shortcuts

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