creativescala / doodle-explore

Declarative UI specification for interactive visualization exploration
Apache License 2.0
1 stars 0 forks source link

Clean up handling of extension methods #2

Closed noelwelsh closed 2 years ago

noelwelsh commented 2 years ago

The way that extension are implemented is overly complex. In Scala 3, extension methods can be declared directly on type classes. There is no need to have separate syntax imports to bring extension methods in to scope.(I haven't actually used this myself, as all my projects are still supporting Scala 2, so I'm not aware of any limitations on this.)

Other misc issues with extension methods: