In depth description of statically resolved type parameters

耗尽温柔 提交于 2019-12-12 15:50:04

问题


I'm looking for a very comprehensive review of statically resolved type parameters. What exactly can be done with them, what their limitations are, what are the effects of using them, how they combine with normal type parameters, and how do instance-level inline members work.

The specification itself offers very little on the subject, mentioning them only in passing. It says nothing about the ability to have types with such type parameters (e.g. type Example< ^a>), how exactly the keywords and and or can be used when specifying complex member constraints, how much member signatures have to conform to the signature of the constraint, and so forth.

I've really only found introductory material and some very specific information, nothing in the form of a comprehensive overview.

来源:https://stackoverflow.com/questions/29081215/in-depth-description-of-statically-resolved-type-parameters

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!