I can’t wait to be able to replace all of that with the following equivalent in Scala 3:
enum Color {
case Red, Green, Blue
}
which is just syntactic sugar for
enum Colour {
case Red
case Green
case Blue
}
I can’t wait to be able to replace all of that with the following equivalent in Scala 3:
enum Color {
case Red, Green, Blue
}
which is just syntactic sugar for
enum Colour {
case Red
case Green
case Blue
}