Hi, 

Is it planned to combine type list with embed interfaces,
or it is too confusing ?

type numeric interface {
type integers, floats
}

type integers interface {
type int, int8, int16, int32, int64, unsigneds
}

type unsigneds interface {
type uint, uint8, uint16, uint32, uint64
}

type floats interface {
type float32, float64
}

https://go2goplay.golang.org/p/6X5WZxWIcHE 
<https://go2goplay.golang.org/p/-4nMBomneiQ>

Thanks for current draft, it feels very idiomatic to me.

--- Davor

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/0e7a854f-ed75-4d06-8fed-73306f9d3ef7o%40googlegroups.com.

Reply via email to