Registry / utility / anacrolix-generics

anacrolix-generics

JSON →
library0.2.0gogounverified

Generic data structures and algorithms for Go using type parameters.

go get github.com/anacrolix/generics
INSTALL
IMPORT
SIG · ANACROLIX-GENERICS
A
anacrolix-generics
utilitygov0.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

generics
✓ github.com/anacrolix/generics

Creates a generic set and checks for element existence.

package main import ( "fmt" "github.com/anacrolix/generics" ) func main() { s := generics.NewSet[int]() s.Add(1) fmt.Println(s.Contains(1)) // true }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
30 hits · last 30 days
node
26
OpenAI (training)
1
Resources
anacrolix-generics — go get anacrolix-generics · libregistry