Glossary: Go Beyond the Basics
type inference
Go working out a type argument from the values you pass, so you can write `Sum(xs)` instead of `Sum[int](xs)`. It fails when the type appears only in the result.
Glossary: Go Beyond the Basics
Go working out a type argument from the values you pass, so you can write `Sum(xs)` instead of `Sum[int](xs)`. It fails when the type appears only in the result.