User Tools

Site Tools


sets_in_go

Sets in Go

Background: why sets are useful

Nobody has yet discovered a branch of mathematics that has successfully resisted formalization into set theory. (Thomas Forster, Logic Induction and Sets, p. 167)

Boolean logic and set theory are closely related

Examples

Web search result for “go set”.

Libraries

  • gen: type-driven code generation for Go
  • golang-set: a simple set type for the Go language. Used in Docker. coding talk
  • strset: Go Set type with rich API to hold string elements.
  • bitset: a mapping between non-negative integers and boolean values, stored as bits on slices of uint64.
  • go-set: type-safe, zero-allocation sets for Go.

References

sets_in_go.txt · Last modified: 2018/10/03 05:29 by luciano