Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on A concise guide to the latest Go generics draft design. Parent comment
as for constrains, say if we use decorator, then since T has to adhere to one interface only, func Max from your example could become
func Max(a, b $Comparable) $Comparable { // ... }
There are no comments on this comment yet.
as for constrains, say if we use decorator, then since T has to adhere to one interface only, func Max from your example could become
[1] https://groups.google.com/forum/#!topic/golang-nuts/Rp3yUUy2...