3 // Copyright 2021 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
9 type Src[T any] func() Src[T]
11 func Seq[T any]() Src[T] {
15 func Seq2[T1 any, T2 any](v1 T1, v2 T2) Src[T2] {
20 // Type args fully supplied
22 // Partial inference of type args
24 // Full inference of type args