mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
Updated Go2GenericsFeedback (markdown)
parent
a2f8a64c5a
commit
46e9dc31e2
@ -344,4 +344,6 @@ func main() {
|
|||||||
v:= IntStringHolder{}
|
v:= IntStringHolder{}
|
||||||
v.Set(7,"Lucky")
|
v.Set(7,"Lucky")
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
- antoniomo: While the draft clearly explains why `F<T>`, `F[T]` and non-ASCII (unable to type it here) `F<<T>>` where discarded, feels like `F{T}` would be more human readable than the sometimes three in a row set of `()`, while not complicating the parser with unbounded lookahead as you can't open a block in those circumstances.
|
Loading…
x
Reference in New Issue
Block a user