-
## Compiler version
3.4.2
## Minimized code
```Scala
trait P:
type Q
type Qaux[QQ] = P { type Q = QQ }
type QP[P] = P match
case Qaux[q] => q
trait PString extends P:
type Q …
-
I also have a question about the possibility of using default types referencing other generic types in the same object. [This code](https://playground.ponylang.io/?gist=fda674282d36bf450469cbd706374e0…
-
Related to #2, generalize the notion of runtime dependence. Instantiating a built-in type with an unknown value should generate a new dependent type. For example:
```
def X : record {
n : int;
a …
-
Using singleton trick described before, needs GHC plugin
-
One central feature about OData is it's capability to allow the client to determine the data shape of the response. The two main operations here are `$select`ing properties of an entity and `$expand`i…
-
Originally ran into this trying to mix the Stack effect with a dependent record type; narrowed the reproduction case down to:
```fstar
type pos = (len:nat & (n:nat { n True)) = p
let get_offse…
-
Thanks to your help with #2, the `gpts` library now has a PR that adds a typed `ask_for` method using `guidance` and `minml`.
However, when me and @rskottap added tests to that method, we found it …
-
```nim
type Node[T] = object
val: T
proc genericProc(s: Node; key: s.T) =
discard # body doesn't matter
proc explicitGenericProc[T](s: Node[T]; key: T) =
discard # body doesn't mat…
-
@iitalics proposes an alternative to Type Class Morphisms with Dependent Types using Agda here -
https://gist.github.com/iitalics/e15e578947bf0f77970e3eda6de839e6
What does this mean for Sedela'…
-
## Reproduction steps
Scala version: 2.13.12
In Test.scala
```scala
trait Trait
object Object {
object Implementation extends Trait
}
trait Trait2 {
def foo: Trait
}
class Test {
…