> Also I would argue that Scala is much better suited for writing compilers than Haskel.
Any examples of how it can help out?
Any examples of how it can help out?
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.