-
## Compiler version
3.2.2, 3.3.0-RC4
## Minimized code
```scala
trait Foo[A]
object Foo:
trait Codec[A] extends Foo[A]
object Codec:
inline def derived[A]: Codec[A] = ???
end Fo…
-
* impurity safe zones using context functions
* use opaque types to avoid allocations
* intersection & union types to both avoid allocations, and better represent raw facades
* use `erased` to remo…
-
## Compiler version
3.1.3
## Actual
In https://docs.scala-lang.org/scala3/reference/contextual/derivation.html, I believe the declaration of the `Eq` typeclass has an error. The declaration
`…
-
Hey,
It would be nice to be able to automatically generate `mono-*` instances for a `newtype` wrapper or a `data` declaration that simply monomorphises a polymorphic type.
For example, we could easy…
bollu updated
8 years ago
-
## Understanding the existing `ModelKinds` design
Taking a look at our existing ModelKinds definition:
https://github.com/JacquesCarette/Drasil/blob/0ea1e82231c83ae999b58cfc871d85fbbcaa3ef3/code/d…
-
Union types express a subtyping relationship, but I am unclear as to whether typeclasses (i.e. Rust's traits) do?
If a `trait B` extends another `trait A` and `B` reuses the implementations of `A`, c…
-
Is less verbosity the only main benefit of typeclasses over just inputting a set of functions?
Typeclasses can do where `bar` is a member of `Function`:
```
foo(x: A) where Function
bar(x)
…
-
- [ ] support for values classes
- [ ] support for opaque types
- [ ] support for recursive types
- [x] accessing annotations
- [ ] a simple way to pass configuration to `join` / `split` methods …
-
### Type classes from cats-tagless:
- [x] `FunctorK` - https://github.com/typelevel/cats-tagless/pull/442
- [x] `ContravariantK` - https://github.com/typelevel/cats-tagless/pull/518
- [x] `Invarian…
-
Hey @dterei !
As the title suggests, this is yet another attempt to generalise `pretty` to support alternative textual representations, such that it would pave the way for #1 .
Now, I know that …