Re:Scala 3.0
by asdasdasdch on Friday May 14, 2021 @08:01AM
(#27153280)
Choose your flavor @ https://docs.scala-lang.org/scala3/guides/macros/
[ Parent
| on HN ]
This looks a little like inline in F# where it allows more generic method cases than standard generics do in C#/Java. Looking at the documentation I'm wondering does it allow things like - "any input type that supports the divide operator"? It's a feature I've appreciated previously when writing high performance math code on the .NET side.