-
**Is your feature request related to a problem? Please describe.**
When writing a polymorphic function in Q#, the type variables are fully general. They are opaque types with no properties that the f…
-
I prefer polymorphism over:
* enums
* booleans
* switches
* conditionals (ifs)
* instanceof
Also relates to "*#compile time > runtime*"
-
In Sprint 2, we have the choice to add at least 2 from Inheritance, Polymorphism, and Interfaces.
-
Hi, I'm very new to mypy. I have a question for how to handle the following kinds of polymorphic functions:
```
import typing as typ
T = typ.TypeVar('T')
def identity(x:T)->T:
return x …
-
Hi,
On my swagger file i use the property allOf to do Polymorphism (see : https://swagger.io/specification/#models-with-composition-108) in one of my definition.
Here a sample:
```
Payment:
…
-
You must use polymorphism to design your Controllers for the two games (i.e. you must have a (probably abstract) base card game Controller class and your Set game and Playing Card game Controllers mus…
-
I'm actually trying to fix openapi/asyncapi generation for my project, and got stuck a bit looking at examples in the [Inheritance and Polymorphism](https://swagger.io/docs/specification/data-models/i…
-
It would be desirable to, at some point, grow the ability to abstract over the "mutability" of reference types. Currently, it is frequently the case that one must write separate "getter" methods for s…
-
It would be great if we could abstract over capture sets on the type level:
```
type Coroutine[C, A] {
Done()
More(value: A, next: () => Coroutine[C, A] at C)
}
```
This way we could ac…
-