Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 1.29 KB

README.md

File metadata and controls

21 lines (16 loc) · 1.29 KB

Unusual Generics

Run Tests Go Reference License: MIT

Type parameters or Generics in Go designed to reduce boilerplate for container data types like lists, graphs, etc. and functions like map, filter, reduce...

But it's possible to use them in other (I've named them 'unusual') cases. I'm collecting such cases in this repository. What's inside:

Feel free to open issue or pull request to add new one.

Note that until 1.18 release documentation on 'pkg.go.dev' will not be rendered.