I understand this now (see Scala 3 Enum vs Enumerations - #3 by philipschwarz) and I totally agree: To use enum
to create Haskell-like ADTs in a concise manneris slightly weird.
I understand this now (see Scala 3 Enum vs Enumerations - #3 by philipschwarz) and I totally agree: To use enum
to create Haskell-like ADTs in a concise manneris slightly weird.