[go-nuts] Go 2 review process

2020-07-16 Thread Brandon Bennett
I have just read https://github.com/golang/go/issues/33892#issuecomment-659618902 and since it was posted on a closed issue I wanted to comment a bit more. I subscribed to this issue and read the updates for both the Go2 proposals as well as the Go1 proposals and I enjoy reading them. I unders

[go-nuts] [generics] Infer types on return

2020-06-19 Thread Brandon Bennett
I was playing around with a, probably not good, idea of what a rust-like Return type would look like: https://go2goplay.golang.org/p/k0NKN9Q6Wc1 It seems when we are returning a specific value like Result(int) from a function as in func myFunc(input string) Result(int) { return Err(int