Writing type parametric functions in Go

Go’s only method of compile time safe polymorphism is structural subtyping, and
this article will do nothing to change that. Instead, I’m going to present a
package ty with facilities to write type parametric functions in Go that
maintain run time type safety, while also being convenient for the
caller to use.

添加评论
点赞收藏
点踩分享查看原文
评论
?
参与讨论