Generic programming for Scala
Well, that is sometimes possible, depending on a structure of Foo. If you have a List, for instance, you can iterate every element, and if every element is A, then it's safe to cast a list to List[A]. In fact, shapeless provides exactly that, in form of Typeable[List[A]], in a more generic form. I suppose shapeless also can derive a typeable instance for you, but I haven't dug into scala 3 version of it.
Jam 0.0.4 got Scala 3 support
3 projects | reddit.com/r/scala | 17 Apr 2021
Help me break the fourth wall
1 project | reddit.com/r/scala | 25 Apr 2022
Is it possible to get runnable generated scala code from a macro (chminey to be specific)?
2 projects | reddit.com/r/scala | 20 Jan 2022
mod team resignation by BurntSushi · Pull Request #671 · rust-lang/team
3 projects | reddit.com/r/programming | 22 Nov 2021
Fp libraries that target scala 3 exclusively?
5 projects | reddit.com/r/scala | 22 Nov 2021