Languages today are not just about command line compiler.
Compiler today must interact with tools such as IDE. If you keep some basic rules, it is reasonably simple to write compiler which can interact with Intellij Idea and provide incremental compilation, live edit hints, error messages.
> Scala is a rugged, expressive, strictly superior replacement for Java.
Scala is not replacement for Java. It runs on JVM and can invoke java code, but has completely different approach than Java. Use Kotlin if you want Java replacement.
Also I would argue that Scala is much better suited for writing compilers than Haskel.
Compiler today must interact with tools such as IDE. If you keep some basic rules, it is reasonably simple to write compiler which can interact with Intellij Idea and provide incremental compilation, live edit hints, error messages.
In Haskel you dont have any of that.