ericelliott/rtype

declaration-site variance annotations of generic type arguments

Open

#81 建立於 2016年4月14日

在 GitHub 查看
 (6 留言) (0 反應) (0 負責人)JavaScript (1,128 star) (46 fork)batch import
help wantedstrawman

描述

Declaration-site variance annotations in other languages

C#, Kotlin, Ceylon:

  • out covariance
  • in contravariance

Scala, OCaml, Flow:

  • + covariance
  • - contravariance

What should we choose? (see discussion about generic types in #55 and #80)

貢獻者指南