I am implementing an HList using inline methods. If I match on a type it works. However, if I match on an unapply, compilation fails. At first I tried the default unapply and then tried variants.
In the documentation, the last example seems to use a default constructor. So why does my example not work.
I have placed an example with my tests in the link below.