Discord is now Scala’s main chat platform. Please join us at https://discord.com/invite/scala
null
is such a footgun in that case. Isn't there a way to coerce the compile to block at the x:Qux.Aux[Baz]
?
type Aux[A <: Foo]
though it's a bit a bother to have to declare that bound twice
We’re going to use Scala’s builtin List class for this exercise as it has a flatMap method