bishabosha / spire-scala3

Bringing Spire to Dotty/Scala 3
MIT License
14 stars 2 forks source link

Identify workaround for dropped specialisation #22

Open bishabosha opened 5 years ago

bishabosha commented 5 years ago

Dotty removes support for the @specialized annotation, but introduces specialising inline methods. This brings up some issues:


With Dotty comes prior mentioned inline methods, along with improved GADT reasoning which can be used to select a specialised method.

bishabosha commented 5 years ago

I'll publish soon some experimentation I've been working on.