ericelliott / ericelliott/rtype

declaration-site variance annotations of generic type arguments

Open
#81 6 comments 0 reactions 0 assignees View on GitHub
help wanted strawman
Dominant language
JavaScript
Stars
1.1k
Forks
38
PR merge metrics
No merged PRs in 30d

Description

# Declaration-site variance annotations in other languages

**C#, Kotlin, Ceylon:**
- `out` covariance
- `in` contravariance

**Scala, OCaml, [Flow](http://flowtype.org/docs/classes.html#polymorphism-and-type-parameter-variance):**
- `+` covariance
- `-` contravariance

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.