Refactoring class hierarchy into ADT

nice to hear. I’m not sure if you’re referring to my attempt to create the artificial hierarchy to satisfy the compiler, or if you’re referring to the shorter version where I just refactored the sealed trait among multiple files, and removed the word sealed from the declaration.

But I can assure you that any resemblance to Java is just circumstantial. As I’m mentioned several times before I don’t know Java, and have never written a single line of Java code. All I know about Java comes from what I’ve learned using Scala and Clojure.