编写没有泛型的ADT规格是有可能的,但这是以可能不正确的重复为代价的。
互联网摘选
actually, for the sake of genericity, parsers are really not hard-coded to return a match object.
事实上,为了通用性,并不要求分析器一定要返回匹配对象。
互联网摘选
analysis of generalization and genericity in object-oriented system development
面向对象系统开发中的泛化与泛型分析
互联网摘选
对比于先前给出的重载定义,定义泛型是有趣的
互联网摘选