Minimal example of using Go generics to build an interpreter
interp.go | ||
README.md |
Minimal example for my StackOverflow question here:
https://stackoverflow.com/questions/71955121/how-to-type-switch-values-with-generic-types
To trigger the issue:
go run interp.go